{"action":"created","comment":{"url":"https://api.github.com/repos/Wikia/pandora/pulls/comments/30725300","id":30725300,"diff_hunk":"@@ -100,4 +91,78 @@ public void getForumRootWithNestedChildren() {\n \n     verify(forumDao).getForumList(anyInt());\n   }\n+\n+  private Forum createForum(Long id, Long parentId) {\n+    return createForum(id, parentId, String.format(\"Forum: %s\", id));\n+  }\n+\n+  private Forum createForum(Long id, Long parentId, String name) {","path":"service/discussion/src/test/java/com/wikia/discussionservice/services/ForumServiceTest.java","position":70,"original_position":70,"commit_id":"40d790148fea0717252220cc468d076fbc2d4228","original_commit_id":"40d790148fea0717252220cc468d076fbc2d4228","user":{"login":"armonr","id":1141431,"avatar_url":"https://avatars.githubusercontent.com/u/1141431?v=3","gravatar_id":"","url":"https://api.github.com/users/armonr","html_url":"https://github.com/armonr","followers_url":"https://api.github.com/users/armonr/followers","following_url":"https://api.github.com/users/armonr/following{/other_user}","gists_url":"https://api.github.com/users/armonr/gists{/gist_id}","starred_url":"https://api.github.com/users/armonr/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/armonr/subscriptions","organizations_url":"https://api.github.com/users/armonr/orgs","repos_url":"https://api.github.com/users/armonr/repos","events_url":"https://api.github.com/users/armonr/events{/privacy}","received_events_url":"https://api.github.com/users/armonr/received_events","type":"User","site_admin":false},"body":"site id should be `int`","created_at":"2015-05-20T17:14:43Z","updated_at":"2015-05-20T17:14:43Z","html_url":"https://github.com/Wikia/pandora/pull/207#discussion_r30725300","pull_request_url":"https://api.github.com/repos/Wikia/pandora/pulls/207","_links":{"self":{"href":"https://api.github.com/repos/Wikia/pandora/pulls/comments/30725300"},"html":{"href":"https://github.com/Wikia/pandora/pull/207#discussion_r30725300"},"pull_request":{"href":"https://api.github.com/repos/Wikia/pandora/pulls/207"}}},"pull_request":{"url":"https://api.github.com/repos/Wikia/pandora/pulls/207","id":35833604,"html_url":"https://github.com/Wikia/pandora/pull/207","diff_url":"https://github.com/Wikia/pandora/pull/207.diff","patch_url":"https://github.com/Wikia/pandora/pull/207.patch","issue_url":"https://api.github.com/repos/Wikia/pandora/issues/207","number":207,"state":"open","locked":false,"title":"Tests for DIS-41","user":{"login":"jogura","id":907775,"avatar_url":"https://avatars.githubusercontent.com/u/907775?v=3","gravatar_id":"","url":"https://api.github.com/users/jogura","html_url":"https://github.com/jogura","followers_url":"https://api.github.com/users/jogura/followers","following_url":"https://api.github.com/users/jogura/following{/other_user}","gists_url":"https://api.github.com/users/jogura/gists{/gist_id}","starred_url":"https://api.github.com/users/jogura/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jogura/subscriptions","organizations_url":"https://api.github.com/users/jogura/orgs","repos_url":"https://api.github.com/users/jogura/repos","events_url":"https://api.github.com/users/jogura/events{/privacy}","received_events_url":"https://api.github.com/users/jogura/received_events","type":"User","site_admin":false},"body":"Initial checkin for DIS-81 Tests for DIS-41 Display ThreadList\r\n* Add additional tests for getting specific forums with threads\r\n* Add methods to convert HalResponses for Threads, Posts, and PostRevisions\r\n* Add SecureActivity for VIEW_FORUM (stubbed impl ATM)\r\n* Refactor ForumResourceTest to use Hamcrest assertThat\r\n* Introduce new generic Hamcrest Matcher for Content comparisons by id from a list\r\n* Refactor all Mappers to not stringify Integer types (we are only stringifying Long)","created_at":"2015-05-20T13:51:56Z","updated_at":"2015-05-20T17:14:43Z","closed_at":null,"merged_at":null,"merge_commit_sha":"f6f838c141079986a1b55b67eff4526e984a2072","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/Wikia/pandora/pulls/207/commits","review_comments_url":"https://api.github.com/repos/Wikia/pandora/pulls/207/comments","review_comment_url":"https://api.github.com/repos/Wikia/pandora/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Wikia/pandora/issues/207/comments","statuses_url":"https://api.github.com/repos/Wikia/pandora/statuses/40d790148fea0717252220cc468d076fbc2d4228","head":{"label":"Wikia:DIS-80","ref":"DIS-80","sha":"40d790148fea0717252220cc468d076fbc2d4228","user":{"login":"Wikia","id":1171011,"avatar_url":"https://avatars.githubusercontent.com/u/1171011?v=3","gravatar_id":"","url":"https://api.github.com/users/Wikia","html_url":"https://github.com/Wikia","followers_url":"https://api.github.com/users/Wikia/followers","following_url":"https://api.github.com/users/Wikia/following{/other_user}","gists_url":"https://api.github.com/users/Wikia/gists{/gist_id}","starred_url":"https://api.github.com/users/Wikia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wikia/subscriptions","organizations_url":"https://api.github.com/users/Wikia/orgs","repos_url":"https://api.github.com/users/Wikia/repos","events_url":"https://api.github.com/users/Wikia/events{/privacy}","received_events_url":"https://api.github.com/users/Wikia/received_events","type":"Organization","site_admin":false},"repo":{"id":26663749,"name":"pandora","full_name":"Wikia/pandora","owner":{"login":"Wikia","id":1171011,"avatar_url":"https://avatars.githubusercontent.com/u/1171011?v=3","gravatar_id":"","url":"https://api.github.com/users/Wikia","html_url":"https://github.com/Wikia","followers_url":"https://api.github.com/users/Wikia/followers","following_url":"https://api.github.com/users/Wikia/following{/other_user}","gists_url":"https://api.github.com/users/Wikia/gists{/gist_id}","starred_url":"https://api.github.com/users/Wikia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wikia/subscriptions","organizations_url":"https://api.github.com/users/Wikia/orgs","repos_url":"https://api.github.com/users/Wikia/repos","events_url":"https://api.github.com/users/Wikia/events{/privacy}","received_events_url":"https://api.github.com/users/Wikia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Wikia/pandora","description":"API Service","fork":false,"url":"https://api.github.com/repos/Wikia/pandora","forks_url":"https://api.github.com/repos/Wikia/pandora/forks","keys_url":"https://api.github.com/repos/Wikia/pandora/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Wikia/pandora/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Wikia/pandora/teams","hooks_url":"https://api.github.com/repos/Wikia/pandora/hooks","issue_events_url":"https://api.github.com/repos/Wikia/pandora/issues/events{/number}","events_url":"https://api.github.com/repos/Wikia/pandora/events","assignees_url":"https://api.github.com/repos/Wikia/pandora/assignees{/user}","branches_url":"https://api.github.com/repos/Wikia/pandora/branches{/branch}","tags_url":"https://api.github.com/repos/Wikia/pandora/tags","blobs_url":"https://api.github.com/repos/Wikia/pandora/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Wikia/pandora/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Wikia/pandora/git/refs{/sha}","trees_url":"https://api.github.com/repos/Wikia/pandora/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Wikia/pandora/statuses/{sha}","languages_url":"https://api.github.com/repos/Wikia/pandora/languages","stargazers_url":"https://api.github.com/repos/Wikia/pandora/stargazers","contributors_url":"https://api.github.com/repos/Wikia/pandora/contributors","subscribers_url":"https://api.github.com/repos/Wikia/pandora/subscribers","subscription_url":"https://api.github.com/repos/Wikia/pandora/subscription","commits_url":"https://api.github.com/repos/Wikia/pandora/commits{/sha}","git_commits_url":"https://api.github.com/repos/Wikia/pandora/git/commits{/sha}","comments_url":"https://api.github.com/repos/Wikia/pandora/comments{/number}","issue_comment_url":"https://api.github.com/repos/Wikia/pandora/issues/comments{/number}","contents_url":"https://api.github.com/repos/Wikia/pandora/contents/{+path}","compare_url":"https://api.github.com/repos/Wikia/pandora/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Wikia/pandora/merges","archive_url":"https://api.github.com/repos/Wikia/pandora/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Wikia/pandora/downloads","issues_url":"https://api.github.com/repos/Wikia/pandora/issues{/number}","pulls_url":"https://api.github.com/repos/Wikia/pandora/pulls{/number}","milestones_url":"https://api.github.com/repos/Wikia/pandora/milestones{/number}","notifications_url":"https://api.github.com/repos/Wikia/pandora/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Wikia/pandora/labels{/name}","releases_url":"https://api.github.com/repos/Wikia/pandora/releases{/id}","created_at":"2014-11-15T00:29:06Z","updated_at":"2015-05-07T13:03:50Z","pushed_at":"2015-05-20T14:54:33Z","git_url":"git://github.com/Wikia/pandora.git","ssh_url":"git@github.com:Wikia/pandora.git","clone_url":"https://github.com/Wikia/pandora.git","svn_url":"https://github.com/Wikia/pandora","homepage":null,"size":10262,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":3,"default_branch":"master"}},"base":{"label":"Wikia:DIS-41","ref":"DIS-41","sha":"2b256455a6cf8ef1f4bcef338e6b934b42724850","user":{"login":"Wikia","id":1171011,"avatar_url":"https://avatars.githubusercontent.com/u/1171011?v=3","gravatar_id":"","url":"https://api.github.com/users/Wikia","html_url":"https://github.com/Wikia","followers_url":"https://api.github.com/users/Wikia/followers","following_url":"https://api.github.com/users/Wikia/following{/other_user}","gists_url":"https://api.github.com/users/Wikia/gists{/gist_id}","starred_url":"https://api.github.com/users/Wikia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wikia/subscriptions","organizations_url":"https://api.github.com/users/Wikia/orgs","repos_url":"https://api.github.com/users/Wikia/repos","events_url":"https://api.github.com/users/Wikia/events{/privacy}","received_events_url":"https://api.github.com/users/Wikia/received_events","type":"Organization","site_admin":false},"repo":{"id":26663749,"name":"pandora","full_name":"Wikia/pandora","owner":{"login":"Wikia","id":1171011,"avatar_url":"https://avatars.githubusercontent.com/u/1171011?v=3","gravatar_id":"","url":"https://api.github.com/users/Wikia","html_url":"https://github.com/Wikia","followers_url":"https://api.github.com/users/Wikia/followers","following_url":"https://api.github.com/users/Wikia/following{/other_user}","gists_url":"https://api.github.com/users/Wikia/gists{/gist_id}","starred_url":"https://api.github.com/users/Wikia/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Wikia/subscriptions","organizations_url":"https://api.github.com/users/Wikia/orgs","repos_url":"https://api.github.com/users/Wikia/repos","events_url":"https://api.github.com/users/Wikia/events{/privacy}","received_events_url":"https://api.github.com/users/Wikia/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Wikia/pandora","description":"API Service","fork":false,"url":"https://api.github.com/repos/Wikia/pandora","forks_url":"https://api.github.com/repos/Wikia/pandora/forks","keys_url":"https://api.github.com/repos/Wikia/pandora/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Wikia/pandora/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Wikia/pandora/teams","hooks_url":"https://api.github.com/repos/Wikia/pandora/hooks","issue_events_url":"https://api.github.com/repos/Wikia/pandora/issues/events{/number}","events_url":"https://api.github.com/repos/Wikia/pandora/events","assignees_url":"https://api.github.com/repos/Wikia/pandora/assignees{/user}","branches_url":"https://api.github.com/repos/Wikia/pandora/branches{/branch}","tags_url":"https://api.github.com/repos/Wikia/pandora/tags","blobs_url":"https://api.github.com/repos/Wikia/pandora/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Wikia/pandora/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Wikia/pandora/git/refs{/sha}","trees_url":"https://api.github.com/repos/Wikia/pandora/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Wikia/pandora/statuses/{sha}","languages_url":"https://api.github.com/repos/Wikia/pandora/languages","stargazers_url":"https://api.github.com/repos/Wikia/pandora/stargazers","contributors_url":"https://api.github.com/repos/Wikia/pandora/contributors","subscribers_url":"https://api.github.com/repos/Wikia/pandora/subscribers","subscription_url":"https://api.github.com/repos/Wikia/pandora/subscription","commits_url":"https://api.github.com/repos/Wikia/pandora/commits{/sha}","git_commits_url":"https://api.github.com/repos/Wikia/pandora/git/commits{/sha}","comments_url":"https://api.github.com/repos/Wikia/pandora/comments{/number}","issue_comment_url":"https://api.github.com/repos/Wikia/pandora/issues/comments{/number}","contents_url":"https://api.github.com/repos/Wikia/pandora/contents/{+path}","compare_url":"https://api.github.com/repos/Wikia/pandora/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Wikia/pandora/merges","archive_url":"https://api.github.com/repos/Wikia/pandora/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Wikia/pandora/downloads","issues_url":"https://api.github.com/repos/Wikia/pandora/issues{/number}","pulls_url":"https://api.github.com/repos/Wikia/pandora/pulls{/number}","milestones_url":"https://api.github.com/repos/Wikia/pandora/milestones{/number}","notifications_url":"https://api.github.com/repos/Wikia/pandora/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Wikia/pandora/labels{/name}","releases_url":"https://api.github.com/repos/Wikia/pandora/releases{/id}","created_at":"2014-11-15T00:29:06Z","updated_at":"2015-05-07T13:03:50Z","pushed_at":"2015-05-20T14:54:33Z","git_url":"git://github.com/Wikia/pandora.git","ssh_url":"git@github.com:Wikia/pandora.git","clone_url":"https://github.com/Wikia/pandora.git","svn_url":"https://github.com/Wikia/pandora","homepage":null,"size":10262,"stargazers_count":3,"watchers_count":3,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":2,"forks":1,"open_issues":2,"watchers":3,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Wikia/pandora/pulls/207"},"html":{"href":"https://github.com/Wikia/pandora/pull/207"},"issue":{"href":"https://api.github.com/repos/Wikia/pandora/issues/207"},"comments":{"href":"https://api.github.com/repos/Wikia/pandora/issues/207/comments"},"review_comments":{"href":"https://api.github.com/repos/Wikia/pandora/pulls/207/comments"},"review_comment":{"href":"https://api.github.com/repos/Wikia/pandora/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Wikia/pandora/pulls/207/commits"},"statuses":{"href":"https://api.github.com/repos/Wikia/pandora/statuses/40d790148fea0717252220cc468d076fbc2d4228"}}}}