{"action":"created","comment":{"url":"https://api.github.com/repos/dodopizza/restaurantboard-public/pulls/comments/203694338","pull_request_review_id":138632450,"id":203694338,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwMzY5NDMzOA==","diff_hunk":"@@ -0,0 +1,88 @@\n+using System;\n+using NUnit.Framework;\n+using Tests.Dsl;\n+\n+namespace Tests\n+{\n+    public class CallCenterPhoneParameterTests\n+    {\n+        [Test]\n+        public void WhenIconPathNotEmpty_ThenShouldCreateIconUrlWithCorrectSlashes()\n+        {\n+            var phone = Create.CallCenterPhoneParameter\n+                .WithIconPath(\"icon\\\\path\")\n+                .Please();\n+\n+            var iconUrl = phone.GetIconUrl(\"www.example.com\");\n+\n+            Assert.AreEqual(\"www.example.com/icon/path\", iconUrl);\n+        }\n+\n+        [Test]\n+        public void WhenIconPathIsEmptyAndIconSitePathNotEmpty_ThenShouldUseItAsIconUrl()\n+        {\n+            var phone = Create.CallCenterPhoneParameter\n+                .WithIconPath(null)\n+                .WithSiteIconPath(\"www.example-site-icon-path.com/icon/path\")\n+                .Please();\n+\n+            var iconUrl = phone.GetIconUrl(\"www.example.com\");\n+\n+            Assert.AreEqual(\"www.example-site-icon-path.com/icon/path\", iconUrl);","path":"Dodo.Core.Tests/CallCenterPhoneParameterTests.cs","position":31,"original_position":31,"commit_id":"b4882c31ab941bbd8be4075f1bde2291ed300cbf","original_commit_id":"b4882c31ab941bbd8be4075f1bde2291ed300cbf","user":{"login":"ArtemTrofimushkin","id":13941667,"node_id":"MDQ6VXNlcjEzOTQxNjY3","avatar_url":"https://avatars1.githubusercontent.com/u/13941667?v=4","gravatar_id":"","url":"https://api.github.com/users/ArtemTrofimushkin","html_url":"https://github.com/ArtemTrofimushkin","followers_url":"https://api.github.com/users/ArtemTrofimushkin/followers","following_url":"https://api.github.com/users/ArtemTrofimushkin/following{/other_user}","gists_url":"https://api.github.com/users/ArtemTrofimushkin/gists{/gist_id}","starred_url":"https://api.github.com/users/ArtemTrofimushkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArtemTrofimushkin/subscriptions","organizations_url":"https://api.github.com/users/ArtemTrofimushkin/orgs","repos_url":"https://api.github.com/users/ArtemTrofimushkin/repos","events_url":"https://api.github.com/users/ArtemTrofimushkin/events{/privacy}","received_events_url":"https://api.github.com/users/ArtemTrofimushkin/received_events","type":"User","site_admin":false},"body":"В одной из прошлых домашек, так и делали, но Антон Бевзюк сказал, что из-за выноса переменных, тест сложнее читать, поэтому используются константы","created_at":"2018-07-19T11:40:12Z","updated_at":"2018-07-19T11:40:13Z","html_url":"https://github.com/dodopizza/restaurantboard-public/pull/16#discussion_r203694338","pull_request_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/pulls/16","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/dodopizza/restaurantboard-public/pulls/comments/203694338"},"html":{"href":"https://github.com/dodopizza/restaurantboard-public/pull/16#discussion_r203694338"},"pull_request":{"href":"https://api.github.com/repos/dodopizza/restaurantboard-public/pulls/16"}},"in_reply_to_id":203648580},"pull_request":{"url":"https://api.github.com/repos/dodopizza/restaurantboard-public/pulls/16","id":202439136,"node_id":"MDExOlB1bGxSZXF1ZXN0MjAyNDM5MTM2","html_url":"https://github.com/dodopizza/restaurantboard-public/pull/16","diff_url":"https://github.com/dodopizza/restaurantboard-public/pull/16.diff","patch_url":"https://github.com/dodopizza/restaurantboard-public/pull/16.patch","issue_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/issues/16","number":16,"state":"open","locked":false,"title":"Hw05 Artem Michail","user":{"login":"ArtemTrofimushkin","id":13941667,"node_id":"MDQ6VXNlcjEzOTQxNjY3","avatar_url":"https://avatars1.githubusercontent.com/u/13941667?v=4","gravatar_id":"","url":"https://api.github.com/users/ArtemTrofimushkin","html_url":"https://github.com/ArtemTrofimushkin","followers_url":"https://api.github.com/users/ArtemTrofimushkin/followers","following_url":"https://api.github.com/users/ArtemTrofimushkin/following{/other_user}","gists_url":"https://api.github.com/users/ArtemTrofimushkin/gists{/gist_id}","starred_url":"https://api.github.com/users/ArtemTrofimushkin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ArtemTrofimushkin/subscriptions","organizations_url":"https://api.github.com/users/ArtemTrofimushkin/orgs","repos_url":"https://api.github.com/users/ArtemTrofimushkin/repos","events_url":"https://api.github.com/users/ArtemTrofimushkin/events{/privacy}","received_events_url":"https://api.github.com/users/ArtemTrofimushkin/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-07-19T03:59:10Z","updated_at":"2018-07-19T11:40:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fab247b9bb3c475c185d5a588222f5a5ed63d686","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/pulls/16/commits","review_comments_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/pulls/16/comments","review_comment_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/pulls/comments{/number}","comments_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/issues/16/comments","statuses_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/statuses/b4882c31ab941bbd8be4075f1bde2291ed300cbf","head":{"label":"dodopizza:hw05-AT-MK","ref":"hw05-AT-MK","sha":"b4882c31ab941bbd8be4075f1bde2291ed300cbf","user":{"login":"dodopizza","id":27726774,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI3NzI2Nzc0","avatar_url":"https://avatars2.githubusercontent.com/u/27726774?v=4","gravatar_id":"","url":"https://api.github.com/users/dodopizza","html_url":"https://github.com/dodopizza","followers_url":"https://api.github.com/users/dodopizza/followers","following_url":"https://api.github.com/users/dodopizza/following{/other_user}","gists_url":"https://api.github.com/users/dodopizza/gists{/gist_id}","starred_url":"https://api.github.com/users/dodopizza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dodopizza/subscriptions","organizations_url":"https://api.github.com/users/dodopizza/orgs","repos_url":"https://api.github.com/users/dodopizza/repos","events_url":"https://api.github.com/users/dodopizza/events{/privacy}","received_events_url":"https://api.github.com/users/dodopizza/received_events","type":"Organization","site_admin":false},"repo":{"id":138092871,"node_id":"MDEwOlJlcG9zaXRvcnkxMzgwOTI4NzE=","name":"restaurantboard-public","full_name":"dodopizza/restaurantboard-public","owner":{"login":"dodopizza","id":27726774,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI3NzI2Nzc0","avatar_url":"https://avatars2.githubusercontent.com/u/27726774?v=4","gravatar_id":"","url":"https://api.github.com/users/dodopizza","html_url":"https://github.com/dodopizza","followers_url":"https://api.github.com/users/dodopizza/followers","following_url":"https://api.github.com/users/dodopizza/following{/other_user}","gists_url":"https://api.github.com/users/dodopizza/gists{/gist_id}","starred_url":"https://api.github.com/users/dodopizza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dodopizza/subscriptions","organizations_url":"https://api.github.com/users/dodopizza/orgs","repos_url":"https://api.github.com/users/dodopizza/repos","events_url":"https://api.github.com/users/dodopizza/events{/privacy}","received_events_url":"https://api.github.com/users/dodopizza/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dodopizza/restaurantboard-public","description":"Restaurant Boards public repo for devschool","fork":false,"url":"https://api.github.com/repos/dodopizza/restaurantboard-public","forks_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/forks","keys_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/teams","hooks_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/hooks","issue_events_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/issues/events{/number}","events_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/events","assignees_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/assignees{/user}","branches_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/branches{/branch}","tags_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/tags","blobs_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/git/refs{/sha}","trees_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/statuses/{sha}","languages_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/languages","stargazers_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/stargazers","contributors_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/contributors","subscribers_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/subscribers","subscription_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/subscription","commits_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/commits{/sha}","git_commits_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/git/commits{/sha}","comments_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/comments{/number}","issue_comment_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/issues/comments{/number}","contents_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/contents/{+path}","compare_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/merges","archive_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/downloads","issues_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/issues{/number}","pulls_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/pulls{/number}","milestones_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/milestones{/number}","notifications_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/labels{/name}","releases_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/releases{/id}","deployments_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/deployments","created_at":"2018-06-20T22:33:51Z","updated_at":"2018-06-26T06:22:14Z","pushed_at":"2018-07-19T11:09:58Z","git_url":"git://github.com/dodopizza/restaurantboard-public.git","ssh_url":"git@github.com:dodopizza/restaurantboard-public.git","clone_url":"https://github.com/dodopizza/restaurantboard-public.git","svn_url":"https://github.com/dodopizza/restaurantboard-public","homepage":null,"size":3329,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":16,"license":null,"forks":3,"open_issues":16,"watchers":0,"default_branch":"master"}},"base":{"label":"dodopizza:master","ref":"master","sha":"d28b6c5599de29f9b7338d84148db73264bdb0bd","user":{"login":"dodopizza","id":27726774,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI3NzI2Nzc0","avatar_url":"https://avatars2.githubusercontent.com/u/27726774?v=4","gravatar_id":"","url":"https://api.github.com/users/dodopizza","html_url":"https://github.com/dodopizza","followers_url":"https://api.github.com/users/dodopizza/followers","following_url":"https://api.github.com/users/dodopizza/following{/other_user}","gists_url":"https://api.github.com/users/dodopizza/gists{/gist_id}","starred_url":"https://api.github.com/users/dodopizza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dodopizza/subscriptions","organizations_url":"https://api.github.com/users/dodopizza/orgs","repos_url":"https://api.github.com/users/dodopizza/repos","events_url":"https://api.github.com/users/dodopizza/events{/privacy}","received_events_url":"https://api.github.com/users/dodopizza/received_events","type":"Organization","site_admin":false},"repo":{"id":138092871,"node_id":"MDEwOlJlcG9zaXRvcnkxMzgwOTI4NzE=","name":"restaurantboard-public","full_name":"dodopizza/restaurantboard-public","owner":{"login":"dodopizza","id":27726774,"node_id":"MDEyOk9yZ2FuaXphdGlvbjI3NzI2Nzc0","avatar_url":"https://avatars2.githubusercontent.com/u/27726774?v=4","gravatar_id":"","url":"https://api.github.com/users/dodopizza","html_url":"https://github.com/dodopizza","followers_url":"https://api.github.com/users/dodopizza/followers","following_url":"https://api.github.com/users/dodopizza/following{/other_user}","gists_url":"https://api.github.com/users/dodopizza/gists{/gist_id}","starred_url":"https://api.github.com/users/dodopizza/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dodopizza/subscriptions","organizations_url":"https://api.github.com/users/dodopizza/orgs","repos_url":"https://api.github.com/users/dodopizza/repos","events_url":"https://api.github.com/users/dodopizza/events{/privacy}","received_events_url":"https://api.github.com/users/dodopizza/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/dodopizza/restaurantboard-public","description":"Restaurant Boards public repo for devschool","fork":false,"url":"https://api.github.com/repos/dodopizza/restaurantboard-public","forks_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/forks","keys_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/keys{/key_id}","collaborators_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/teams","hooks_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/hooks","issue_events_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/issues/events{/number}","events_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/events","assignees_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/assignees{/user}","branches_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/branches{/branch}","tags_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/tags","blobs_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/git/refs{/sha}","trees_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/git/trees{/sha}","statuses_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/statuses/{sha}","languages_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/languages","stargazers_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/stargazers","contributors_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/contributors","subscribers_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/subscribers","subscription_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/subscription","commits_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/commits{/sha}","git_commits_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/git/commits{/sha}","comments_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/comments{/number}","issue_comment_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/issues/comments{/number}","contents_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/contents/{+path}","compare_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/compare/{base}...{head}","merges_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/merges","archive_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/downloads","issues_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/issues{/number}","pulls_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/pulls{/number}","milestones_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/milestones{/number}","notifications_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/labels{/name}","releases_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/releases{/id}","deployments_url":"https://api.github.com/repos/dodopizza/restaurantboard-public/deployments","created_at":"2018-06-20T22:33:51Z","updated_at":"2018-06-26T06:22:14Z","pushed_at":"2018-07-19T11:09:58Z","git_url":"git://github.com/dodopizza/restaurantboard-public.git","ssh_url":"git@github.com:dodopizza/restaurantboard-public.git","clone_url":"https://github.com/dodopizza/restaurantboard-public.git","svn_url":"https://github.com/dodopizza/restaurantboard-public","homepage":null,"size":3329,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":3,"mirror_url":null,"archived":false,"open_issues_count":16,"license":null,"forks":3,"open_issues":16,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/dodopizza/restaurantboard-public/pulls/16"},"html":{"href":"https://github.com/dodopizza/restaurantboard-public/pull/16"},"issue":{"href":"https://api.github.com/repos/dodopizza/restaurantboard-public/issues/16"},"comments":{"href":"https://api.github.com/repos/dodopizza/restaurantboard-public/issues/16/comments"},"review_comments":{"href":"https://api.github.com/repos/dodopizza/restaurantboard-public/pulls/16/comments"},"review_comment":{"href":"https://api.github.com/repos/dodopizza/restaurantboard-public/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/dodopizza/restaurantboard-public/pulls/16/commits"},"statuses":{"href":"https://api.github.com/repos/dodopizza/restaurantboard-public/statuses/b4882c31ab941bbd8be4075f1bde2291ed300cbf"}},"author_association":"NONE"}}
{"actor":{"display_login":"ArtemTrofimushkin"}}