{"action":"created","comment":{"url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/pulls/comments/77765878","id":77765878,"diff_hunk":"@@ -0,0 +1,38 @@\n+package seedu.addressbook.data.person;\n+\n+import static org.junit.Assert.*;\n+\n+import org.junit.Before;\n+import org.junit.Test;\n+\n+import seedu.addressbook.data.exception.IllegalValueException;\n+\n+public class NameTest {\n+    private Name name;\n+    \n+    public Name createName(String name) {\n+        Name other = null;\n+        other = catchNameAssignmentException(name, other);\n+        return other;\n+    }\n+\n+    private Name catchNameAssignmentException(String name, Name other) {\n+        try {\n+            other = new Name(name);\n+        } catch (IllegalValueException e) {\n+            e.printStackTrace();\n+        }\n+        return other;\n+    }\n+\n+    @Before\n+    public void setup() {\n+        name = createName(\"John Smith\");","path":"src/seedu/addressbook/data/person/NameTest.java","position":30,"original_position":30,"commit_id":"7c625e56e9e1d97d36fbf54aa9940278989ccf91","original_commit_id":"987b5f651db9cd8e6692cc42f75b3427dd7d7c6f","user":{"login":"okkhoy","id":1023494,"avatar_url":"https://avatars.githubusercontent.com/u/1023494?v=3","gravatar_id":"","url":"https://api.github.com/users/okkhoy","html_url":"https://github.com/okkhoy","followers_url":"https://api.github.com/users/okkhoy/followers","following_url":"https://api.github.com/users/okkhoy/following{/other_user}","gists_url":"https://api.github.com/users/okkhoy/gists{/gist_id}","starred_url":"https://api.github.com/users/okkhoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okkhoy/subscriptions","organizations_url":"https://api.github.com/users/okkhoy/orgs","repos_url":"https://api.github.com/users/okkhoy/repos","events_url":"https://api.github.com/users/okkhoy/events{/privacy}","received_events_url":"https://api.github.com/users/okkhoy/received_events","type":"User","site_admin":false},"body":"your test seems to be doing lot more work than the actual method :-P","created_at":"2016-09-07T06:26:41Z","updated_at":"2016-09-07T06:26:41Z","html_url":"https://github.com/nus-cs2103-AY1617S1/addressbook-level2/pull/755#discussion_r77765878","pull_request_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/pulls/755","_links":{"self":{"href":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/pulls/comments/77765878"},"html":{"href":"https://github.com/nus-cs2103-AY1617S1/addressbook-level2/pull/755#discussion_r77765878"},"pull_request":{"href":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/pulls/755"}}},"pull_request":{"url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/pulls/755","id":83913324,"html_url":"https://github.com/nus-cs2103-AY1617S1/addressbook-level2/pull/755","diff_url":"https://github.com/nus-cs2103-AY1617S1/addressbook-level2/pull/755.diff","patch_url":"https://github.com/nus-cs2103-AY1617S1/addressbook-level2/pull/755.patch","issue_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/issues/755","number":755,"state":"open","locked":false,"title":"[T4A7][W13-B1]Yong Zhi Yuan","user":{"login":"Zhiyuan-Amos","id":19281514,"avatar_url":"https://avatars.githubusercontent.com/u/19281514?v=3","gravatar_id":"","url":"https://api.github.com/users/Zhiyuan-Amos","html_url":"https://github.com/Zhiyuan-Amos","followers_url":"https://api.github.com/users/Zhiyuan-Amos/followers","following_url":"https://api.github.com/users/Zhiyuan-Amos/following{/other_user}","gists_url":"https://api.github.com/users/Zhiyuan-Amos/gists{/gist_id}","starred_url":"https://api.github.com/users/Zhiyuan-Amos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zhiyuan-Amos/subscriptions","organizations_url":"https://api.github.com/users/Zhiyuan-Amos/orgs","repos_url":"https://api.github.com/users/Zhiyuan-Amos/repos","events_url":"https://api.github.com/users/Zhiyuan-Amos/events{/privacy}","received_events_url":"https://api.github.com/users/Zhiyuan-Amos/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-04T04:38:05Z","updated_at":"2016-09-07T06:26:41Z","closed_at":null,"merged_at":null,"merge_commit_sha":"627996509caef6a240bf8b77ea7c9e056c09c61a","assignee":{"login":"okkhoy","id":1023494,"avatar_url":"https://avatars.githubusercontent.com/u/1023494?v=3","gravatar_id":"","url":"https://api.github.com/users/okkhoy","html_url":"https://github.com/okkhoy","followers_url":"https://api.github.com/users/okkhoy/followers","following_url":"https://api.github.com/users/okkhoy/following{/other_user}","gists_url":"https://api.github.com/users/okkhoy/gists{/gist_id}","starred_url":"https://api.github.com/users/okkhoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okkhoy/subscriptions","organizations_url":"https://api.github.com/users/okkhoy/orgs","repos_url":"https://api.github.com/users/okkhoy/repos","events_url":"https://api.github.com/users/okkhoy/events{/privacy}","received_events_url":"https://api.github.com/users/okkhoy/received_events","type":"User","site_admin":false},"assignees":[{"login":"okkhoy","id":1023494,"avatar_url":"https://avatars.githubusercontent.com/u/1023494?v=3","gravatar_id":"","url":"https://api.github.com/users/okkhoy","html_url":"https://github.com/okkhoy","followers_url":"https://api.github.com/users/okkhoy/followers","following_url":"https://api.github.com/users/okkhoy/following{/other_user}","gists_url":"https://api.github.com/users/okkhoy/gists{/gist_id}","starred_url":"https://api.github.com/users/okkhoy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/okkhoy/subscriptions","organizations_url":"https://api.github.com/users/okkhoy/orgs","repos_url":"https://api.github.com/users/okkhoy/repos","events_url":"https://api.github.com/users/okkhoy/events{/privacy}","received_events_url":"https://api.github.com/users/okkhoy/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/pulls/755/commits","review_comments_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/pulls/755/comments","review_comment_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/issues/755/comments","statuses_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/statuses/7c625e56e9e1d97d36fbf54aa9940278989ccf91","head":{"label":"Zhiyuan-Amos:T4A7","ref":"T4A7","sha":"7c625e56e9e1d97d36fbf54aa9940278989ccf91","user":{"login":"Zhiyuan-Amos","id":19281514,"avatar_url":"https://avatars.githubusercontent.com/u/19281514?v=3","gravatar_id":"","url":"https://api.github.com/users/Zhiyuan-Amos","html_url":"https://github.com/Zhiyuan-Amos","followers_url":"https://api.github.com/users/Zhiyuan-Amos/followers","following_url":"https://api.github.com/users/Zhiyuan-Amos/following{/other_user}","gists_url":"https://api.github.com/users/Zhiyuan-Amos/gists{/gist_id}","starred_url":"https://api.github.com/users/Zhiyuan-Amos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zhiyuan-Amos/subscriptions","organizations_url":"https://api.github.com/users/Zhiyuan-Amos/orgs","repos_url":"https://api.github.com/users/Zhiyuan-Amos/repos","events_url":"https://api.github.com/users/Zhiyuan-Amos/events{/privacy}","received_events_url":"https://api.github.com/users/Zhiyuan-Amos/received_events","type":"User","site_admin":false},"repo":{"id":66897069,"name":"addressbook-level2","full_name":"Zhiyuan-Amos/addressbook-level2","owner":{"login":"Zhiyuan-Amos","id":19281514,"avatar_url":"https://avatars.githubusercontent.com/u/19281514?v=3","gravatar_id":"","url":"https://api.github.com/users/Zhiyuan-Amos","html_url":"https://github.com/Zhiyuan-Amos","followers_url":"https://api.github.com/users/Zhiyuan-Amos/followers","following_url":"https://api.github.com/users/Zhiyuan-Amos/following{/other_user}","gists_url":"https://api.github.com/users/Zhiyuan-Amos/gists{/gist_id}","starred_url":"https://api.github.com/users/Zhiyuan-Amos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Zhiyuan-Amos/subscriptions","organizations_url":"https://api.github.com/users/Zhiyuan-Amos/orgs","repos_url":"https://api.github.com/users/Zhiyuan-Amos/repos","events_url":"https://api.github.com/users/Zhiyuan-Amos/events{/privacy}","received_events_url":"https://api.github.com/users/Zhiyuan-Amos/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Zhiyuan-Amos/addressbook-level2","description":"A Java sample application for students. An AddressBook application that uses OOP basics.","fork":true,"url":"https://api.github.com/repos/Zhiyuan-Amos/addressbook-level2","forks_url":"https://api.github.com/repos/Zhiyuan-Amos/addressbook-level2/forks","keys_url":"https://api.github.com/repos/Zhiyuan-Amos/addressbook-level2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Zhiyuan-Amos/addressbook-level2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Zhiyuan-Amos/addressbook-level2/teams","hooks_url":"https://api.github.com/repos/Zhiyuan-Amos/addressbook-level2/hooks","issue_events_url":"https://api.github.com/repos/Zhiyuan-Amos/addressbook-level2/issues/events{/number}","events_url":"https://api.github.com/repos/Zhiyuan-Amos/addressbook-level2/events","assignees_url":"https://api.github.com/repos/Zhiyuan-Amos/addressbook-level2/assignees{/user}","branches_url":"https://api.github.com/repos/Zhiyuan-Amos/addressbook-level2/branches{/branch}","tags_url":"https://api.github.com/repos/Zhiyuan-Amos/addressbook-level2/tags","blobs_url":"https://api.github.com/repos/Zhiyuan-Amos/addressbook-level2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Zhiyuan-Amos/addressbook-level2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Zhiyuan-Amos/addressbook-level2/git/refs{/sha}","trees_url":"https://api.github.com/repos/Zhiyuan-Amos/addressbook-level2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Zhiyuan-Amos/addressbook-level2/statuses/{sha}","languages_url":"https://api.github.com/repos/Zhiyuan-Amos/addressbook-level2/languages","stargazers_url":"https://api.github.com/repos/Zhiyuan-Amos/addressbook-level2/stargazers","contributors_url":"https://api.github.com/repos/Zhiyuan-Amos/addressbook-level2/contributors","subscribers_url":"https://api.github.com/repos/Zhiyuan-Amos/addressbook-level2/subscribers","subscription_url":"https://api.github.com/repos/Zhiyuan-Amos/addressbook-level2/subscription","commits_url":"https://api.github.com/repos/Zhiyuan-Amos/addressbook-level2/commits{/sha}","git_commits_url":"https://api.github.com/repos/Zhiyuan-Amos/addressbook-level2/git/commits{/sha}","comments_url":"https://api.github.com/repos/Zhiyuan-Amos/addressbook-level2/comments{/number}","issue_comment_url":"https://api.github.com/repos/Zhiyuan-Amos/addressbook-level2/issues/comments{/number}","contents_url":"https://api.github.com/repos/Zhiyuan-Amos/addressbook-level2/contents/{+path}","compare_url":"https://api.github.com/repos/Zhiyuan-Amos/addressbook-level2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Zhiyuan-Amos/addressbook-level2/merges","archive_url":"https://api.github.com/repos/Zhiyuan-Amos/addressbook-level2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Zhiyuan-Amos/addressbook-level2/downloads","issues_url":"https://api.github.com/repos/Zhiyuan-Amos/addressbook-level2/issues{/number}","pulls_url":"https://api.github.com/repos/Zhiyuan-Amos/addressbook-level2/pulls{/number}","milestones_url":"https://api.github.com/repos/Zhiyuan-Amos/addressbook-level2/milestones{/number}","notifications_url":"https://api.github.com/repos/Zhiyuan-Amos/addressbook-level2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Zhiyuan-Amos/addressbook-level2/labels{/name}","releases_url":"https://api.github.com/repos/Zhiyuan-Amos/addressbook-level2/releases{/id}","deployments_url":"https://api.github.com/repos/Zhiyuan-Amos/addressbook-level2/deployments","created_at":"2016-08-30T02:01:07Z","updated_at":"2016-08-30T02:01:08Z","pushed_at":"2016-09-06T11:35:42Z","git_url":"git://github.com/Zhiyuan-Amos/addressbook-level2.git","ssh_url":"git@github.com:Zhiyuan-Amos/addressbook-level2.git","clone_url":"https://github.com/Zhiyuan-Amos/addressbook-level2.git","svn_url":"https://github.com/Zhiyuan-Amos/addressbook-level2","homepage":null,"size":3015,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"nus-cs2103-AY1617S1:master","ref":"master","sha":"371e577077a87d43e0e2710c1b0985e4bafa5e0b","user":{"login":"nus-cs2103-AY1617S1","id":20475842,"avatar_url":"https://avatars.githubusercontent.com/u/20475842?v=3","gravatar_id":"","url":"https://api.github.com/users/nus-cs2103-AY1617S1","html_url":"https://github.com/nus-cs2103-AY1617S1","followers_url":"https://api.github.com/users/nus-cs2103-AY1617S1/followers","following_url":"https://api.github.com/users/nus-cs2103-AY1617S1/following{/other_user}","gists_url":"https://api.github.com/users/nus-cs2103-AY1617S1/gists{/gist_id}","starred_url":"https://api.github.com/users/nus-cs2103-AY1617S1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nus-cs2103-AY1617S1/subscriptions","organizations_url":"https://api.github.com/users/nus-cs2103-AY1617S1/orgs","repos_url":"https://api.github.com/users/nus-cs2103-AY1617S1/repos","events_url":"https://api.github.com/users/nus-cs2103-AY1617S1/events{/privacy}","received_events_url":"https://api.github.com/users/nus-cs2103-AY1617S1/received_events","type":"Organization","site_admin":false},"repo":{"id":66551047,"name":"addressbook-level2","full_name":"nus-cs2103-AY1617S1/addressbook-level2","owner":{"login":"nus-cs2103-AY1617S1","id":20475842,"avatar_url":"https://avatars.githubusercontent.com/u/20475842?v=3","gravatar_id":"","url":"https://api.github.com/users/nus-cs2103-AY1617S1","html_url":"https://github.com/nus-cs2103-AY1617S1","followers_url":"https://api.github.com/users/nus-cs2103-AY1617S1/followers","following_url":"https://api.github.com/users/nus-cs2103-AY1617S1/following{/other_user}","gists_url":"https://api.github.com/users/nus-cs2103-AY1617S1/gists{/gist_id}","starred_url":"https://api.github.com/users/nus-cs2103-AY1617S1/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nus-cs2103-AY1617S1/subscriptions","organizations_url":"https://api.github.com/users/nus-cs2103-AY1617S1/orgs","repos_url":"https://api.github.com/users/nus-cs2103-AY1617S1/repos","events_url":"https://api.github.com/users/nus-cs2103-AY1617S1/events{/privacy}","received_events_url":"https://api.github.com/users/nus-cs2103-AY1617S1/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/nus-cs2103-AY1617S1/addressbook-level2","description":"A Java sample application for students. An AddressBook application that uses OOP basics.","fork":true,"url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2","forks_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/forks","keys_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/teams","hooks_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/hooks","issue_events_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/issues/events{/number}","events_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/events","assignees_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/assignees{/user}","branches_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/branches{/branch}","tags_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/tags","blobs_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/git/refs{/sha}","trees_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/statuses/{sha}","languages_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/languages","stargazers_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/stargazers","contributors_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/contributors","subscribers_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/subscribers","subscription_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/subscription","commits_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/commits{/sha}","git_commits_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/git/commits{/sha}","comments_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/comments{/number}","issue_comment_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/issues/comments{/number}","contents_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/contents/{+path}","compare_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/merges","archive_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/downloads","issues_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/issues{/number}","pulls_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/pulls{/number}","milestones_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/milestones{/number}","notifications_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/labels{/name}","releases_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/releases{/id}","deployments_url":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/deployments","created_at":"2016-08-25T11:09:03Z","updated_at":"2016-09-02T12:48:52Z","pushed_at":"2016-09-07T06:19:12Z","git_url":"git://github.com/nus-cs2103-AY1617S1/addressbook-level2.git","ssh_url":"git@github.com:nus-cs2103-AY1617S1/addressbook-level2.git","clone_url":"https://github.com/nus-cs2103-AY1617S1/addressbook-level2.git","svn_url":"https://github.com/nus-cs2103-AY1617S1/addressbook-level2","homepage":null,"size":19539,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":252,"mirror_url":null,"open_issues_count":688,"forks":252,"open_issues":688,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/pulls/755"},"html":{"href":"https://github.com/nus-cs2103-AY1617S1/addressbook-level2/pull/755"},"issue":{"href":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/issues/755"},"comments":{"href":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/issues/755/comments"},"review_comments":{"href":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/pulls/755/comments"},"review_comment":{"href":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/pulls/755/commits"},"statuses":{"href":"https://api.github.com/repos/nus-cs2103-AY1617S1/addressbook-level2/statuses/7c625e56e9e1d97d36fbf54aa9940278989ccf91"}}}}
{"actor":{"display_login":"okkhoy"}}