{"action":"created","comment":{"url":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/pulls/comments/86757506","pull_request_review_id":7397647,"id":86757506,"diff_hunk":"@@ -35,6 +49,12 @@\n import static org.hamcrest.Matchers.hasProperty;\r\n import static org.hamcrest.Matchers.is;\r\n import static org.junit.Assert.assertThat;\r\n+import static org.mockito.BDDMockito.given;\r\n+import static org.mockito.Mockito.doAnswer;\r\n+import static org.mockito.Mockito.doCallRealMethod;\r\n+import static org.mockito.Mockito.doNothing;\r","path":"api/src/test/java/org/openmrs/module/openconceptlab/UpdateServiceTest.java","position":45,"original_position":45,"commit_id":"8ff5e1677ba9bf9d3571987aa61a617753c77e9e","original_commit_id":"8ff5e1677ba9bf9d3571987aa61a617753c77e9e","user":{"login":"codacy-bot","id":19940114,"avatar_url":"https://avatars.githubusercontent.com/u/19940114?v=3","gravatar_id":"","url":"https://api.github.com/users/codacy-bot","html_url":"https://github.com/codacy-bot","followers_url":"https://api.github.com/users/codacy-bot/followers","following_url":"https://api.github.com/users/codacy-bot/following{/other_user}","gists_url":"https://api.github.com/users/codacy-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/codacy-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/codacy-bot/subscriptions","organizations_url":"https://api.github.com/users/codacy-bot/orgs","repos_url":"https://api.github.com/users/codacy-bot/repos","events_url":"https://api.github.com/users/codacy-bot/events{/privacy}","received_events_url":"https://api.github.com/users/codacy-bot/received_events","type":"User","site_admin":false},"body":"![Codacy](https://www.codacy.com/assets/images/favicon.png) Issue found: [Avoid unused imports such as 'org.mockito.Mockito.doNothing'](https://www.codacy.com/app/openmrs/openmrs-module-openconceptlab/file/4384090419/issues/source?bid=3222550&fileBranchId=3883759#l55)","created_at":"2016-11-07T11:29:50Z","updated_at":"2016-11-07T11:29:50Z","html_url":"https://github.com/openmrs/openmrs-module-openconceptlab/pull/30#discussion_r86757506","pull_request_url":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/pulls/30","_links":{"self":{"href":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/pulls/comments/86757506"},"html":{"href":"https://github.com/openmrs/openmrs-module-openconceptlab/pull/30#discussion_r86757506"},"pull_request":{"href":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/pulls/30"}}},"pull_request":{"url":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/pulls/30","id":92558866,"html_url":"https://github.com/openmrs/openmrs-module-openconceptlab/pull/30","diff_url":"https://github.com/openmrs/openmrs-module-openconceptlab/pull/30.diff","patch_url":"https://github.com/openmrs/openmrs-module-openconceptlab/pull/30.patch","issue_url":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/issues/30","number":30,"state":"open","locked":false,"title":"OCLM-46 - Mock OCL Response - WIP","user":{"login":"tmarzeion","id":17570611,"avatar_url":"https://avatars.githubusercontent.com/u/17570611?v=3","gravatar_id":"","url":"https://api.github.com/users/tmarzeion","html_url":"https://github.com/tmarzeion","followers_url":"https://api.github.com/users/tmarzeion/followers","following_url":"https://api.github.com/users/tmarzeion/following{/other_user}","gists_url":"https://api.github.com/users/tmarzeion/gists{/gist_id}","starred_url":"https://api.github.com/users/tmarzeion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmarzeion/subscriptions","organizations_url":"https://api.github.com/users/tmarzeion/orgs","repos_url":"https://api.github.com/users/tmarzeion/repos","events_url":"https://api.github.com/users/tmarzeion/events{/privacy}","received_events_url":"https://api.github.com/users/tmarzeion/received_events","type":"User","site_admin":false},"body":"### TODO:\r\n- [ ] Initial update mock\r\n- [ ] Next release version update mock\r\n- [ ] Snapshot update mock","created_at":"2016-11-07T10:38:13Z","updated_at":"2016-11-07T11:29:51Z","closed_at":null,"merged_at":null,"merge_commit_sha":"49c6857b3fb139583ffbb64d49f99cbb63f5a921","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/pulls/30/commits","review_comments_url":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/pulls/30/comments","review_comment_url":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/pulls/comments{/number}","comments_url":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/issues/30/comments","statuses_url":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/statuses/8ff5e1677ba9bf9d3571987aa61a617753c77e9e","head":{"label":"tmarzeion:OCLM-46","ref":"OCLM-46","sha":"8ff5e1677ba9bf9d3571987aa61a617753c77e9e","user":{"login":"tmarzeion","id":17570611,"avatar_url":"https://avatars.githubusercontent.com/u/17570611?v=3","gravatar_id":"","url":"https://api.github.com/users/tmarzeion","html_url":"https://github.com/tmarzeion","followers_url":"https://api.github.com/users/tmarzeion/followers","following_url":"https://api.github.com/users/tmarzeion/following{/other_user}","gists_url":"https://api.github.com/users/tmarzeion/gists{/gist_id}","starred_url":"https://api.github.com/users/tmarzeion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmarzeion/subscriptions","organizations_url":"https://api.github.com/users/tmarzeion/orgs","repos_url":"https://api.github.com/users/tmarzeion/repos","events_url":"https://api.github.com/users/tmarzeion/events{/privacy}","received_events_url":"https://api.github.com/users/tmarzeion/received_events","type":"User","site_admin":false},"repo":{"id":55502094,"name":"openmrs-module-openconceptlab","full_name":"tmarzeion/openmrs-module-openconceptlab","owner":{"login":"tmarzeion","id":17570611,"avatar_url":"https://avatars.githubusercontent.com/u/17570611?v=3","gravatar_id":"","url":"https://api.github.com/users/tmarzeion","html_url":"https://github.com/tmarzeion","followers_url":"https://api.github.com/users/tmarzeion/followers","following_url":"https://api.github.com/users/tmarzeion/following{/other_user}","gists_url":"https://api.github.com/users/tmarzeion/gists{/gist_id}","starred_url":"https://api.github.com/users/tmarzeion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tmarzeion/subscriptions","organizations_url":"https://api.github.com/users/tmarzeion/orgs","repos_url":"https://api.github.com/users/tmarzeion/repos","events_url":"https://api.github.com/users/tmarzeion/events{/privacy}","received_events_url":"https://api.github.com/users/tmarzeion/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/tmarzeion/openmrs-module-openconceptlab","description":null,"fork":true,"url":"https://api.github.com/repos/tmarzeion/openmrs-module-openconceptlab","forks_url":"https://api.github.com/repos/tmarzeion/openmrs-module-openconceptlab/forks","keys_url":"https://api.github.com/repos/tmarzeion/openmrs-module-openconceptlab/keys{/key_id}","collaborators_url":"https://api.github.com/repos/tmarzeion/openmrs-module-openconceptlab/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/tmarzeion/openmrs-module-openconceptlab/teams","hooks_url":"https://api.github.com/repos/tmarzeion/openmrs-module-openconceptlab/hooks","issue_events_url":"https://api.github.com/repos/tmarzeion/openmrs-module-openconceptlab/issues/events{/number}","events_url":"https://api.github.com/repos/tmarzeion/openmrs-module-openconceptlab/events","assignees_url":"https://api.github.com/repos/tmarzeion/openmrs-module-openconceptlab/assignees{/user}","branches_url":"https://api.github.com/repos/tmarzeion/openmrs-module-openconceptlab/branches{/branch}","tags_url":"https://api.github.com/repos/tmarzeion/openmrs-module-openconceptlab/tags","blobs_url":"https://api.github.com/repos/tmarzeion/openmrs-module-openconceptlab/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/tmarzeion/openmrs-module-openconceptlab/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/tmarzeion/openmrs-module-openconceptlab/git/refs{/sha}","trees_url":"https://api.github.com/repos/tmarzeion/openmrs-module-openconceptlab/git/trees{/sha}","statuses_url":"https://api.github.com/repos/tmarzeion/openmrs-module-openconceptlab/statuses/{sha}","languages_url":"https://api.github.com/repos/tmarzeion/openmrs-module-openconceptlab/languages","stargazers_url":"https://api.github.com/repos/tmarzeion/openmrs-module-openconceptlab/stargazers","contributors_url":"https://api.github.com/repos/tmarzeion/openmrs-module-openconceptlab/contributors","subscribers_url":"https://api.github.com/repos/tmarzeion/openmrs-module-openconceptlab/subscribers","subscription_url":"https://api.github.com/repos/tmarzeion/openmrs-module-openconceptlab/subscription","commits_url":"https://api.github.com/repos/tmarzeion/openmrs-module-openconceptlab/commits{/sha}","git_commits_url":"https://api.github.com/repos/tmarzeion/openmrs-module-openconceptlab/git/commits{/sha}","comments_url":"https://api.github.com/repos/tmarzeion/openmrs-module-openconceptlab/comments{/number}","issue_comment_url":"https://api.github.com/repos/tmarzeion/openmrs-module-openconceptlab/issues/comments{/number}","contents_url":"https://api.github.com/repos/tmarzeion/openmrs-module-openconceptlab/contents/{+path}","compare_url":"https://api.github.com/repos/tmarzeion/openmrs-module-openconceptlab/compare/{base}...{head}","merges_url":"https://api.github.com/repos/tmarzeion/openmrs-module-openconceptlab/merges","archive_url":"https://api.github.com/repos/tmarzeion/openmrs-module-openconceptlab/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/tmarzeion/openmrs-module-openconceptlab/downloads","issues_url":"https://api.github.com/repos/tmarzeion/openmrs-module-openconceptlab/issues{/number}","pulls_url":"https://api.github.com/repos/tmarzeion/openmrs-module-openconceptlab/pulls{/number}","milestones_url":"https://api.github.com/repos/tmarzeion/openmrs-module-openconceptlab/milestones{/number}","notifications_url":"https://api.github.com/repos/tmarzeion/openmrs-module-openconceptlab/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/tmarzeion/openmrs-module-openconceptlab/labels{/name}","releases_url":"https://api.github.com/repos/tmarzeion/openmrs-module-openconceptlab/releases{/id}","deployments_url":"https://api.github.com/repos/tmarzeion/openmrs-module-openconceptlab/deployments","created_at":"2016-04-05T11:24:46Z","updated_at":"2016-04-05T11:24:47Z","pushed_at":"2016-11-07T11:26:31Z","git_url":"git://github.com/tmarzeion/openmrs-module-openconceptlab.git","ssh_url":"git@github.com:tmarzeion/openmrs-module-openconceptlab.git","clone_url":"https://github.com/tmarzeion/openmrs-module-openconceptlab.git","svn_url":"https://github.com/tmarzeion/openmrs-module-openconceptlab","homepage":"https://wiki.openmrs.org/x/XYA5B","size":10611,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"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":"openmrs:master","ref":"master","sha":"71b6616eef22d05a858c57a0183f1f02bae39aec","user":{"login":"openmrs","id":860776,"avatar_url":"https://avatars.githubusercontent.com/u/860776?v=3","gravatar_id":"","url":"https://api.github.com/users/openmrs","html_url":"https://github.com/openmrs","followers_url":"https://api.github.com/users/openmrs/followers","following_url":"https://api.github.com/users/openmrs/following{/other_user}","gists_url":"https://api.github.com/users/openmrs/gists{/gist_id}","starred_url":"https://api.github.com/users/openmrs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openmrs/subscriptions","organizations_url":"https://api.github.com/users/openmrs/orgs","repos_url":"https://api.github.com/users/openmrs/repos","events_url":"https://api.github.com/users/openmrs/events{/privacy}","received_events_url":"https://api.github.com/users/openmrs/received_events","type":"Organization","site_admin":false},"repo":{"id":24714301,"name":"openmrs-module-openconceptlab","full_name":"openmrs/openmrs-module-openconceptlab","owner":{"login":"openmrs","id":860776,"avatar_url":"https://avatars.githubusercontent.com/u/860776?v=3","gravatar_id":"","url":"https://api.github.com/users/openmrs","html_url":"https://github.com/openmrs","followers_url":"https://api.github.com/users/openmrs/followers","following_url":"https://api.github.com/users/openmrs/following{/other_user}","gists_url":"https://api.github.com/users/openmrs/gists{/gist_id}","starred_url":"https://api.github.com/users/openmrs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/openmrs/subscriptions","organizations_url":"https://api.github.com/users/openmrs/orgs","repos_url":"https://api.github.com/users/openmrs/repos","events_url":"https://api.github.com/users/openmrs/events{/privacy}","received_events_url":"https://api.github.com/users/openmrs/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/openmrs/openmrs-module-openconceptlab","description":null,"fork":false,"url":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab","forks_url":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/forks","keys_url":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/keys{/key_id}","collaborators_url":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/teams","hooks_url":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/hooks","issue_events_url":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/issues/events{/number}","events_url":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/events","assignees_url":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/assignees{/user}","branches_url":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/branches{/branch}","tags_url":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/tags","blobs_url":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/git/refs{/sha}","trees_url":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/git/trees{/sha}","statuses_url":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/statuses/{sha}","languages_url":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/languages","stargazers_url":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/stargazers","contributors_url":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/contributors","subscribers_url":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/subscribers","subscription_url":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/subscription","commits_url":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/commits{/sha}","git_commits_url":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/git/commits{/sha}","comments_url":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/comments{/number}","issue_comment_url":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/issues/comments{/number}","contents_url":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/contents/{+path}","compare_url":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/compare/{base}...{head}","merges_url":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/merges","archive_url":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/downloads","issues_url":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/issues{/number}","pulls_url":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/pulls{/number}","milestones_url":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/milestones{/number}","notifications_url":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/labels{/name}","releases_url":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/releases{/id}","deployments_url":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/deployments","created_at":"2014-10-02T09:57:45Z","updated_at":"2016-11-03T10:07:12Z","pushed_at":"2016-11-07T11:26:32Z","git_url":"git://github.com/openmrs/openmrs-module-openconceptlab.git","ssh_url":"git@github.com:openmrs/openmrs-module-openconceptlab.git","clone_url":"https://github.com/openmrs/openmrs-module-openconceptlab.git","svn_url":"https://github.com/openmrs/openmrs-module-openconceptlab","homepage":"https://wiki.openmrs.org/x/XYA5B","size":10638,"stargazers_count":2,"watchers_count":2,"language":"Java","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":13,"mirror_url":null,"open_issues_count":1,"forks":13,"open_issues":1,"watchers":2,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/pulls/30"},"html":{"href":"https://github.com/openmrs/openmrs-module-openconceptlab/pull/30"},"issue":{"href":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/issues/30"},"comments":{"href":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/issues/30/comments"},"review_comments":{"href":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/pulls/30/comments"},"review_comment":{"href":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/pulls/30/commits"},"statuses":{"href":"https://api.github.com/repos/openmrs/openmrs-module-openconceptlab/statuses/8ff5e1677ba9bf9d3571987aa61a617753c77e9e"}}}}
{"actor":{"display_login":"codacy-bot"}}