{"action":"created","comment":{"url":"https://api.github.com/repos/cnak/contactsMan_csharp/pulls/comments/57217887","id":57217887,"diff_hunk":"@@ -0,0 +1,60 @@\n+﻿using System.IO;\n+using System.Text;\n+using NUnit.Framework;\n+\n+namespace ContactManagement.Tests\n+{\n+    public class ContactsManConsoleReaderTest\n+    {\n+        [Test]\n+        public void TakeContactFirstName()\n+        {\n+            var stream = new MemoryStream(Encoding.UTF8.GetBytes(\"Ced\"));\n+\n+            var consoleReader = new ContactsManConsoleReader(new StreamReader(stream)) ;\n+\n+            Assert.AreEqual(\"Ced\", consoleReader.TakeFirstName());\n+        }\n+\n+        [Test]\n+        public void TakeContactLastName()\n+        {\n+            var stream = new MemoryStream(Encoding.UTF8.GetBytes(\"Atoba\"));\n+\n+            var consoleReader = new ContactsManConsoleReader(new StreamReader(stream)) ;\n+\n+            Assert.AreEqual(\"Atoba\", consoleReader.TakeLastName());\n+\n+        }\n+\n+        [Test]\n+        public void TakeContactStreetAddress()\n+        {\n+            var stream = new MemoryStream(Encoding.UTF8.GetBytes(\"21 8thLight Lane\"));\n+","path":"ContactManagement/Tests/ContactsManConsoleReaderTest.cs","position":34,"original_position":34,"commit_id":"8349bb213f480dd964727369987223f799b31b57","original_commit_id":"8349bb213f480dd964727369987223f799b31b57","user":{"login":"jsuchy","id":6295,"avatar_url":"https://avatars.githubusercontent.com/u/6295?v=3","gravatar_id":"","url":"https://api.github.com/users/jsuchy","html_url":"https://github.com/jsuchy","followers_url":"https://api.github.com/users/jsuchy/followers","following_url":"https://api.github.com/users/jsuchy/following{/other_user}","gists_url":"https://api.github.com/users/jsuchy/gists{/gist_id}","starred_url":"https://api.github.com/users/jsuchy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jsuchy/subscriptions","organizations_url":"https://api.github.com/users/jsuchy/orgs","repos_url":"https://api.github.com/users/jsuchy/repos","events_url":"https://api.github.com/users/jsuchy/events{/privacy}","received_events_url":"https://api.github.com/users/jsuchy/received_events","type":"User","site_admin":false},"body":"I'll use whitespace to separate arrange-act-assert if the test is larger, but you have space between two lines that are doing the arrangement (act and assert are both on one line).","created_at":"2016-03-23T19:00:40Z","updated_at":"2016-03-23T19:00:40Z","html_url":"https://github.com/cnak/contactsMan_csharp/pull/1#discussion_r57217887","pull_request_url":"https://api.github.com/repos/cnak/contactsMan_csharp/pulls/1","_links":{"self":{"href":"https://api.github.com/repos/cnak/contactsMan_csharp/pulls/comments/57217887"},"html":{"href":"https://github.com/cnak/contactsMan_csharp/pull/1#discussion_r57217887"},"pull_request":{"href":"https://api.github.com/repos/cnak/contactsMan_csharp/pulls/1"}}},"pull_request":{"url":"https://api.github.com/repos/cnak/contactsMan_csharp/pulls/1","id":63929400,"html_url":"https://github.com/cnak/contactsMan_csharp/pull/1","diff_url":"https://github.com/cnak/contactsMan_csharp/pull/1.diff","patch_url":"https://github.com/cnak/contactsMan_csharp/pull/1.patch","issue_url":"https://api.github.com/repos/cnak/contactsMan_csharp/issues/1","number":1,"state":"open","locked":false,"title":"Create a Contact then displays created contact","user":{"login":"cnak","id":218601,"avatar_url":"https://avatars.githubusercontent.com/u/218601?v=3","gravatar_id":"","url":"https://api.github.com/users/cnak","html_url":"https://github.com/cnak","followers_url":"https://api.github.com/users/cnak/followers","following_url":"https://api.github.com/users/cnak/following{/other_user}","gists_url":"https://api.github.com/users/cnak/gists{/gist_id}","starred_url":"https://api.github.com/users/cnak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cnak/subscriptions","organizations_url":"https://api.github.com/users/cnak/orgs","repos_url":"https://api.github.com/users/cnak/repos","events_url":"https://api.github.com/users/cnak/events{/privacy}","received_events_url":"https://api.github.com/users/cnak/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-03-23T18:20:58Z","updated_at":"2016-03-23T19:00:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f02b725a6f491b0fbfe033b2b495e1c3ff965853","assignee":null,"milestone":{"url":"https://api.github.com/repos/cnak/contactsMan_csharp/milestones/1","html_url":"https://github.com/cnak/contactsMan_csharp/milestones/%2325%20Create%20Contact%20","labels_url":"https://api.github.com/repos/cnak/contactsMan_csharp/milestones/1/labels","id":1662468,"number":1,"title":"#25 Create Contact ","description":null,"creator":{"login":"cnak","id":218601,"avatar_url":"https://avatars.githubusercontent.com/u/218601?v=3","gravatar_id":"","url":"https://api.github.com/users/cnak","html_url":"https://github.com/cnak","followers_url":"https://api.github.com/users/cnak/followers","following_url":"https://api.github.com/users/cnak/following{/other_user}","gists_url":"https://api.github.com/users/cnak/gists{/gist_id}","starred_url":"https://api.github.com/users/cnak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cnak/subscriptions","organizations_url":"https://api.github.com/users/cnak/orgs","repos_url":"https://api.github.com/users/cnak/repos","events_url":"https://api.github.com/users/cnak/events{/privacy}","received_events_url":"https://api.github.com/users/cnak/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":0,"state":"open","created_at":"2016-03-23T18:20:32Z","updated_at":"2016-03-23T18:20:58Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/cnak/contactsMan_csharp/pulls/1/commits","review_comments_url":"https://api.github.com/repos/cnak/contactsMan_csharp/pulls/1/comments","review_comment_url":"https://api.github.com/repos/cnak/contactsMan_csharp/pulls/comments{/number}","comments_url":"https://api.github.com/repos/cnak/contactsMan_csharp/issues/1/comments","statuses_url":"https://api.github.com/repos/cnak/contactsMan_csharp/statuses/8349bb213f480dd964727369987223f799b31b57","head":{"label":"cnak:CommandLineUI","ref":"CommandLineUI","sha":"8349bb213f480dd964727369987223f799b31b57","user":{"login":"cnak","id":218601,"avatar_url":"https://avatars.githubusercontent.com/u/218601?v=3","gravatar_id":"","url":"https://api.github.com/users/cnak","html_url":"https://github.com/cnak","followers_url":"https://api.github.com/users/cnak/followers","following_url":"https://api.github.com/users/cnak/following{/other_user}","gists_url":"https://api.github.com/users/cnak/gists{/gist_id}","starred_url":"https://api.github.com/users/cnak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cnak/subscriptions","organizations_url":"https://api.github.com/users/cnak/orgs","repos_url":"https://api.github.com/users/cnak/repos","events_url":"https://api.github.com/users/cnak/events{/privacy}","received_events_url":"https://api.github.com/users/cnak/received_events","type":"User","site_admin":false},"repo":{"id":54468667,"name":"contactsMan_csharp","full_name":"cnak/contactsMan_csharp","owner":{"login":"cnak","id":218601,"avatar_url":"https://avatars.githubusercontent.com/u/218601?v=3","gravatar_id":"","url":"https://api.github.com/users/cnak","html_url":"https://github.com/cnak","followers_url":"https://api.github.com/users/cnak/followers","following_url":"https://api.github.com/users/cnak/following{/other_user}","gists_url":"https://api.github.com/users/cnak/gists{/gist_id}","starred_url":"https://api.github.com/users/cnak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cnak/subscriptions","organizations_url":"https://api.github.com/users/cnak/orgs","repos_url":"https://api.github.com/users/cnak/repos","events_url":"https://api.github.com/users/cnak/events{/privacy}","received_events_url":"https://api.github.com/users/cnak/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cnak/contactsMan_csharp","description":"","fork":false,"url":"https://api.github.com/repos/cnak/contactsMan_csharp","forks_url":"https://api.github.com/repos/cnak/contactsMan_csharp/forks","keys_url":"https://api.github.com/repos/cnak/contactsMan_csharp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cnak/contactsMan_csharp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cnak/contactsMan_csharp/teams","hooks_url":"https://api.github.com/repos/cnak/contactsMan_csharp/hooks","issue_events_url":"https://api.github.com/repos/cnak/contactsMan_csharp/issues/events{/number}","events_url":"https://api.github.com/repos/cnak/contactsMan_csharp/events","assignees_url":"https://api.github.com/repos/cnak/contactsMan_csharp/assignees{/user}","branches_url":"https://api.github.com/repos/cnak/contactsMan_csharp/branches{/branch}","tags_url":"https://api.github.com/repos/cnak/contactsMan_csharp/tags","blobs_url":"https://api.github.com/repos/cnak/contactsMan_csharp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cnak/contactsMan_csharp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cnak/contactsMan_csharp/git/refs{/sha}","trees_url":"https://api.github.com/repos/cnak/contactsMan_csharp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cnak/contactsMan_csharp/statuses/{sha}","languages_url":"https://api.github.com/repos/cnak/contactsMan_csharp/languages","stargazers_url":"https://api.github.com/repos/cnak/contactsMan_csharp/stargazers","contributors_url":"https://api.github.com/repos/cnak/contactsMan_csharp/contributors","subscribers_url":"https://api.github.com/repos/cnak/contactsMan_csharp/subscribers","subscription_url":"https://api.github.com/repos/cnak/contactsMan_csharp/subscription","commits_url":"https://api.github.com/repos/cnak/contactsMan_csharp/commits{/sha}","git_commits_url":"https://api.github.com/repos/cnak/contactsMan_csharp/git/commits{/sha}","comments_url":"https://api.github.com/repos/cnak/contactsMan_csharp/comments{/number}","issue_comment_url":"https://api.github.com/repos/cnak/contactsMan_csharp/issues/comments{/number}","contents_url":"https://api.github.com/repos/cnak/contactsMan_csharp/contents/{+path}","compare_url":"https://api.github.com/repos/cnak/contactsMan_csharp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cnak/contactsMan_csharp/merges","archive_url":"https://api.github.com/repos/cnak/contactsMan_csharp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cnak/contactsMan_csharp/downloads","issues_url":"https://api.github.com/repos/cnak/contactsMan_csharp/issues{/number}","pulls_url":"https://api.github.com/repos/cnak/contactsMan_csharp/pulls{/number}","milestones_url":"https://api.github.com/repos/cnak/contactsMan_csharp/milestones{/number}","notifications_url":"https://api.github.com/repos/cnak/contactsMan_csharp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cnak/contactsMan_csharp/labels{/name}","releases_url":"https://api.github.com/repos/cnak/contactsMan_csharp/releases{/id}","deployments_url":"https://api.github.com/repos/cnak/contactsMan_csharp/deployments","created_at":"2016-03-22T11:09:44Z","updated_at":"2016-03-22T11:10:44Z","pushed_at":"2016-03-23T18:23:26Z","git_url":"git://github.com/cnak/contactsMan_csharp.git","ssh_url":"git@github.com:cnak/contactsMan_csharp.git","clone_url":"https://github.com/cnak/contactsMan_csharp.git","svn_url":"https://github.com/cnak/contactsMan_csharp","homepage":null,"size":68,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"cnak:master","ref":"master","sha":"4e559c1c82c44e05b4c142c25b9511dd44867466","user":{"login":"cnak","id":218601,"avatar_url":"https://avatars.githubusercontent.com/u/218601?v=3","gravatar_id":"","url":"https://api.github.com/users/cnak","html_url":"https://github.com/cnak","followers_url":"https://api.github.com/users/cnak/followers","following_url":"https://api.github.com/users/cnak/following{/other_user}","gists_url":"https://api.github.com/users/cnak/gists{/gist_id}","starred_url":"https://api.github.com/users/cnak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cnak/subscriptions","organizations_url":"https://api.github.com/users/cnak/orgs","repos_url":"https://api.github.com/users/cnak/repos","events_url":"https://api.github.com/users/cnak/events{/privacy}","received_events_url":"https://api.github.com/users/cnak/received_events","type":"User","site_admin":false},"repo":{"id":54468667,"name":"contactsMan_csharp","full_name":"cnak/contactsMan_csharp","owner":{"login":"cnak","id":218601,"avatar_url":"https://avatars.githubusercontent.com/u/218601?v=3","gravatar_id":"","url":"https://api.github.com/users/cnak","html_url":"https://github.com/cnak","followers_url":"https://api.github.com/users/cnak/followers","following_url":"https://api.github.com/users/cnak/following{/other_user}","gists_url":"https://api.github.com/users/cnak/gists{/gist_id}","starred_url":"https://api.github.com/users/cnak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cnak/subscriptions","organizations_url":"https://api.github.com/users/cnak/orgs","repos_url":"https://api.github.com/users/cnak/repos","events_url":"https://api.github.com/users/cnak/events{/privacy}","received_events_url":"https://api.github.com/users/cnak/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/cnak/contactsMan_csharp","description":"","fork":false,"url":"https://api.github.com/repos/cnak/contactsMan_csharp","forks_url":"https://api.github.com/repos/cnak/contactsMan_csharp/forks","keys_url":"https://api.github.com/repos/cnak/contactsMan_csharp/keys{/key_id}","collaborators_url":"https://api.github.com/repos/cnak/contactsMan_csharp/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/cnak/contactsMan_csharp/teams","hooks_url":"https://api.github.com/repos/cnak/contactsMan_csharp/hooks","issue_events_url":"https://api.github.com/repos/cnak/contactsMan_csharp/issues/events{/number}","events_url":"https://api.github.com/repos/cnak/contactsMan_csharp/events","assignees_url":"https://api.github.com/repos/cnak/contactsMan_csharp/assignees{/user}","branches_url":"https://api.github.com/repos/cnak/contactsMan_csharp/branches{/branch}","tags_url":"https://api.github.com/repos/cnak/contactsMan_csharp/tags","blobs_url":"https://api.github.com/repos/cnak/contactsMan_csharp/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/cnak/contactsMan_csharp/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/cnak/contactsMan_csharp/git/refs{/sha}","trees_url":"https://api.github.com/repos/cnak/contactsMan_csharp/git/trees{/sha}","statuses_url":"https://api.github.com/repos/cnak/contactsMan_csharp/statuses/{sha}","languages_url":"https://api.github.com/repos/cnak/contactsMan_csharp/languages","stargazers_url":"https://api.github.com/repos/cnak/contactsMan_csharp/stargazers","contributors_url":"https://api.github.com/repos/cnak/contactsMan_csharp/contributors","subscribers_url":"https://api.github.com/repos/cnak/contactsMan_csharp/subscribers","subscription_url":"https://api.github.com/repos/cnak/contactsMan_csharp/subscription","commits_url":"https://api.github.com/repos/cnak/contactsMan_csharp/commits{/sha}","git_commits_url":"https://api.github.com/repos/cnak/contactsMan_csharp/git/commits{/sha}","comments_url":"https://api.github.com/repos/cnak/contactsMan_csharp/comments{/number}","issue_comment_url":"https://api.github.com/repos/cnak/contactsMan_csharp/issues/comments{/number}","contents_url":"https://api.github.com/repos/cnak/contactsMan_csharp/contents/{+path}","compare_url":"https://api.github.com/repos/cnak/contactsMan_csharp/compare/{base}...{head}","merges_url":"https://api.github.com/repos/cnak/contactsMan_csharp/merges","archive_url":"https://api.github.com/repos/cnak/contactsMan_csharp/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/cnak/contactsMan_csharp/downloads","issues_url":"https://api.github.com/repos/cnak/contactsMan_csharp/issues{/number}","pulls_url":"https://api.github.com/repos/cnak/contactsMan_csharp/pulls{/number}","milestones_url":"https://api.github.com/repos/cnak/contactsMan_csharp/milestones{/number}","notifications_url":"https://api.github.com/repos/cnak/contactsMan_csharp/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/cnak/contactsMan_csharp/labels{/name}","releases_url":"https://api.github.com/repos/cnak/contactsMan_csharp/releases{/id}","deployments_url":"https://api.github.com/repos/cnak/contactsMan_csharp/deployments","created_at":"2016-03-22T11:09:44Z","updated_at":"2016-03-22T11:10:44Z","pushed_at":"2016-03-23T18:23:26Z","git_url":"git://github.com/cnak/contactsMan_csharp.git","ssh_url":"git@github.com:cnak/contactsMan_csharp.git","clone_url":"https://github.com/cnak/contactsMan_csharp.git","svn_url":"https://github.com/cnak/contactsMan_csharp","homepage":null,"size":68,"stargazers_count":0,"watchers_count":0,"language":"C#","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/cnak/contactsMan_csharp/pulls/1"},"html":{"href":"https://github.com/cnak/contactsMan_csharp/pull/1"},"issue":{"href":"https://api.github.com/repos/cnak/contactsMan_csharp/issues/1"},"comments":{"href":"https://api.github.com/repos/cnak/contactsMan_csharp/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/cnak/contactsMan_csharp/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/cnak/contactsMan_csharp/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/cnak/contactsMan_csharp/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/cnak/contactsMan_csharp/statuses/8349bb213f480dd964727369987223f799b31b57"}}}}