{"action":"created","comment":{"url":"https://api.github.com/repos/motech/modules/pulls/comments/80449515","id":80449515,"diff_hunk":"@@ -0,0 +1,76 @@\n+package org.motechproject.openmrs.resource.impl;\n+\n+import org.apache.commons.httpclient.HttpClient;\n+import org.apache.commons.httpclient.HttpState;\n+import org.junit.Before;\n+import org.junit.Test;\n+import org.mockito.ArgumentCaptor;\n+import org.mockito.Captor;\n+import org.mockito.Mock;\n+import org.motechproject.openmrs.config.Config;\n+import org.motechproject.openmrs.config.ConfigDummyData;\n+import org.motechproject.openmrs.domain.Form;\n+import org.springframework.http.HttpEntity;\n+import org.springframework.http.HttpMethod;\n+import org.springframework.web.client.RestOperations;\n+\n+import java.net.URI;\n+\n+import static org.junit.Assert.assertEquals;\n+import static org.mockito.Matchers.any;\n+import static org.mockito.Matchers.eq;\n+import static org.mockito.Mockito.verify;\n+import static org.mockito.Mockito.when;\n+import static org.mockito.MockitoAnnotations.initMocks;\n+\n+/**","path":"openmrs/src/test/java/org/motechproject/openmrs/resource/impl/FormResourceImplTest.java","position":26,"original_position":26,"commit_id":"97820a2a369a0135a2461b1c59ac43cb9d33c7fa","original_commit_id":"97820a2a369a0135a2461b1c59ac43cb9d33c7fa","user":{"login":"jredlarski","id":18305358,"avatar_url":"https://avatars.githubusercontent.com/u/18305358?v=3","gravatar_id":"","url":"https://api.github.com/users/jredlarski","html_url":"https://github.com/jredlarski","followers_url":"https://api.github.com/users/jredlarski/followers","following_url":"https://api.github.com/users/jredlarski/following{/other_user}","gists_url":"https://api.github.com/users/jredlarski/gists{/gist_id}","starred_url":"https://api.github.com/users/jredlarski/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jredlarski/subscriptions","organizations_url":"https://api.github.com/users/jredlarski/orgs","repos_url":"https://api.github.com/users/jredlarski/repos","events_url":"https://api.github.com/users/jredlarski/events{/privacy}","received_events_url":"https://api.github.com/users/jredlarski/received_events","type":"User","site_admin":false},"body":"@afijal Please remove the comment","created_at":"2016-09-26T10:42:13Z","updated_at":"2016-09-26T10:43:13Z","html_url":"https://github.com/motech/modules/pull/452#discussion_r80449515","pull_request_url":"https://api.github.com/repos/motech/modules/pulls/452","_links":{"self":{"href":"https://api.github.com/repos/motech/modules/pulls/comments/80449515"},"html":{"href":"https://github.com/motech/modules/pull/452#discussion_r80449515"},"pull_request":{"href":"https://api.github.com/repos/motech/modules/pulls/452"}}},"pull_request":{"url":"https://api.github.com/repos/motech/modules/pulls/452","id":86712682,"html_url":"https://github.com/motech/modules/pull/452","diff_url":"https://github.com/motech/modules/pull/452.diff","patch_url":"https://github.com/motech/modules/pull/452.patch","issue_url":"https://api.github.com/repos/motech/modules/issues/452","number":452,"state":"open","locked":false,"title":"MOTECH-2940: Added unit test for Form class.","user":{"login":"afijal","id":2682379,"avatar_url":"https://avatars.githubusercontent.com/u/2682379?v=3","gravatar_id":"","url":"https://api.github.com/users/afijal","html_url":"https://github.com/afijal","followers_url":"https://api.github.com/users/afijal/followers","following_url":"https://api.github.com/users/afijal/following{/other_user}","gists_url":"https://api.github.com/users/afijal/gists{/gist_id}","starred_url":"https://api.github.com/users/afijal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afijal/subscriptions","organizations_url":"https://api.github.com/users/afijal/orgs","repos_url":"https://api.github.com/users/afijal/repos","events_url":"https://api.github.com/users/afijal/events{/privacy}","received_events_url":"https://api.github.com/users/afijal/received_events","type":"User","site_admin":false},"body":"","created_at":"2016-09-26T09:58:19Z","updated_at":"2016-09-26T10:43:13Z","closed_at":null,"merged_at":null,"merge_commit_sha":"ac8cdab71bce50592c2565e50d0c35c6b93d9ef9","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/motech/modules/pulls/452/commits","review_comments_url":"https://api.github.com/repos/motech/modules/pulls/452/comments","review_comment_url":"https://api.github.com/repos/motech/modules/pulls/comments{/number}","comments_url":"https://api.github.com/repos/motech/modules/issues/452/comments","statuses_url":"https://api.github.com/repos/motech/modules/statuses/97820a2a369a0135a2461b1c59ac43cb9d33c7fa","head":{"label":"afijal:MOTECH-2940ut","ref":"MOTECH-2940ut","sha":"97820a2a369a0135a2461b1c59ac43cb9d33c7fa","user":{"login":"afijal","id":2682379,"avatar_url":"https://avatars.githubusercontent.com/u/2682379?v=3","gravatar_id":"","url":"https://api.github.com/users/afijal","html_url":"https://github.com/afijal","followers_url":"https://api.github.com/users/afijal/followers","following_url":"https://api.github.com/users/afijal/following{/other_user}","gists_url":"https://api.github.com/users/afijal/gists{/gist_id}","starred_url":"https://api.github.com/users/afijal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afijal/subscriptions","organizations_url":"https://api.github.com/users/afijal/orgs","repos_url":"https://api.github.com/users/afijal/repos","events_url":"https://api.github.com/users/afijal/events{/privacy}","received_events_url":"https://api.github.com/users/afijal/received_events","type":"User","site_admin":false},"repo":{"id":62393673,"name":"modules","full_name":"afijal/modules","owner":{"login":"afijal","id":2682379,"avatar_url":"https://avatars.githubusercontent.com/u/2682379?v=3","gravatar_id":"","url":"https://api.github.com/users/afijal","html_url":"https://github.com/afijal","followers_url":"https://api.github.com/users/afijal/followers","following_url":"https://api.github.com/users/afijal/following{/other_user}","gists_url":"https://api.github.com/users/afijal/gists{/gist_id}","starred_url":"https://api.github.com/users/afijal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/afijal/subscriptions","organizations_url":"https://api.github.com/users/afijal/orgs","repos_url":"https://api.github.com/users/afijal/repos","events_url":"https://api.github.com/users/afijal/events{/privacy}","received_events_url":"https://api.github.com/users/afijal/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/afijal/modules","description":" Mobile Technology for Community Health - Modules","fork":true,"url":"https://api.github.com/repos/afijal/modules","forks_url":"https://api.github.com/repos/afijal/modules/forks","keys_url":"https://api.github.com/repos/afijal/modules/keys{/key_id}","collaborators_url":"https://api.github.com/repos/afijal/modules/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/afijal/modules/teams","hooks_url":"https://api.github.com/repos/afijal/modules/hooks","issue_events_url":"https://api.github.com/repos/afijal/modules/issues/events{/number}","events_url":"https://api.github.com/repos/afijal/modules/events","assignees_url":"https://api.github.com/repos/afijal/modules/assignees{/user}","branches_url":"https://api.github.com/repos/afijal/modules/branches{/branch}","tags_url":"https://api.github.com/repos/afijal/modules/tags","blobs_url":"https://api.github.com/repos/afijal/modules/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/afijal/modules/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/afijal/modules/git/refs{/sha}","trees_url":"https://api.github.com/repos/afijal/modules/git/trees{/sha}","statuses_url":"https://api.github.com/repos/afijal/modules/statuses/{sha}","languages_url":"https://api.github.com/repos/afijal/modules/languages","stargazers_url":"https://api.github.com/repos/afijal/modules/stargazers","contributors_url":"https://api.github.com/repos/afijal/modules/contributors","subscribers_url":"https://api.github.com/repos/afijal/modules/subscribers","subscription_url":"https://api.github.com/repos/afijal/modules/subscription","commits_url":"https://api.github.com/repos/afijal/modules/commits{/sha}","git_commits_url":"https://api.github.com/repos/afijal/modules/git/commits{/sha}","comments_url":"https://api.github.com/repos/afijal/modules/comments{/number}","issue_comment_url":"https://api.github.com/repos/afijal/modules/issues/comments{/number}","contents_url":"https://api.github.com/repos/afijal/modules/contents/{+path}","compare_url":"https://api.github.com/repos/afijal/modules/compare/{base}...{head}","merges_url":"https://api.github.com/repos/afijal/modules/merges","archive_url":"https://api.github.com/repos/afijal/modules/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/afijal/modules/downloads","issues_url":"https://api.github.com/repos/afijal/modules/issues{/number}","pulls_url":"https://api.github.com/repos/afijal/modules/pulls{/number}","milestones_url":"https://api.github.com/repos/afijal/modules/milestones{/number}","notifications_url":"https://api.github.com/repos/afijal/modules/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/afijal/modules/labels{/name}","releases_url":"https://api.github.com/repos/afijal/modules/releases{/id}","deployments_url":"https://api.github.com/repos/afijal/modules/deployments","created_at":"2016-07-01T13:07:59Z","updated_at":"2016-07-01T13:08:06Z","pushed_at":"2016-09-26T09:57:36Z","git_url":"git://github.com/afijal/modules.git","ssh_url":"git@github.com:afijal/modules.git","clone_url":"https://github.com/afijal/modules.git","svn_url":"https://github.com/afijal/modules","homepage":"http://modules.motechproject.org","size":34538,"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":"motech:master","ref":"master","sha":"fc3ed00ed7060625ef99c98b9196a67e22fac63f","user":{"login":"motech","id":477919,"avatar_url":"https://avatars.githubusercontent.com/u/477919?v=3","gravatar_id":"","url":"https://api.github.com/users/motech","html_url":"https://github.com/motech","followers_url":"https://api.github.com/users/motech/followers","following_url":"https://api.github.com/users/motech/following{/other_user}","gists_url":"https://api.github.com/users/motech/gists{/gist_id}","starred_url":"https://api.github.com/users/motech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/motech/subscriptions","organizations_url":"https://api.github.com/users/motech/orgs","repos_url":"https://api.github.com/users/motech/repos","events_url":"https://api.github.com/users/motech/events{/privacy}","received_events_url":"https://api.github.com/users/motech/received_events","type":"Organization","site_admin":false},"repo":{"id":19785525,"name":"modules","full_name":"motech/modules","owner":{"login":"motech","id":477919,"avatar_url":"https://avatars.githubusercontent.com/u/477919?v=3","gravatar_id":"","url":"https://api.github.com/users/motech","html_url":"https://github.com/motech","followers_url":"https://api.github.com/users/motech/followers","following_url":"https://api.github.com/users/motech/following{/other_user}","gists_url":"https://api.github.com/users/motech/gists{/gist_id}","starred_url":"https://api.github.com/users/motech/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/motech/subscriptions","organizations_url":"https://api.github.com/users/motech/orgs","repos_url":"https://api.github.com/users/motech/repos","events_url":"https://api.github.com/users/motech/events{/privacy}","received_events_url":"https://api.github.com/users/motech/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/motech/modules","description":" Mobile Technology for Community Health - Modules","fork":false,"url":"https://api.github.com/repos/motech/modules","forks_url":"https://api.github.com/repos/motech/modules/forks","keys_url":"https://api.github.com/repos/motech/modules/keys{/key_id}","collaborators_url":"https://api.github.com/repos/motech/modules/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/motech/modules/teams","hooks_url":"https://api.github.com/repos/motech/modules/hooks","issue_events_url":"https://api.github.com/repos/motech/modules/issues/events{/number}","events_url":"https://api.github.com/repos/motech/modules/events","assignees_url":"https://api.github.com/repos/motech/modules/assignees{/user}","branches_url":"https://api.github.com/repos/motech/modules/branches{/branch}","tags_url":"https://api.github.com/repos/motech/modules/tags","blobs_url":"https://api.github.com/repos/motech/modules/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/motech/modules/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/motech/modules/git/refs{/sha}","trees_url":"https://api.github.com/repos/motech/modules/git/trees{/sha}","statuses_url":"https://api.github.com/repos/motech/modules/statuses/{sha}","languages_url":"https://api.github.com/repos/motech/modules/languages","stargazers_url":"https://api.github.com/repos/motech/modules/stargazers","contributors_url":"https://api.github.com/repos/motech/modules/contributors","subscribers_url":"https://api.github.com/repos/motech/modules/subscribers","subscription_url":"https://api.github.com/repos/motech/modules/subscription","commits_url":"https://api.github.com/repos/motech/modules/commits{/sha}","git_commits_url":"https://api.github.com/repos/motech/modules/git/commits{/sha}","comments_url":"https://api.github.com/repos/motech/modules/comments{/number}","issue_comment_url":"https://api.github.com/repos/motech/modules/issues/comments{/number}","contents_url":"https://api.github.com/repos/motech/modules/contents/{+path}","compare_url":"https://api.github.com/repos/motech/modules/compare/{base}...{head}","merges_url":"https://api.github.com/repos/motech/modules/merges","archive_url":"https://api.github.com/repos/motech/modules/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/motech/modules/downloads","issues_url":"https://api.github.com/repos/motech/modules/issues{/number}","pulls_url":"https://api.github.com/repos/motech/modules/pulls{/number}","milestones_url":"https://api.github.com/repos/motech/modules/milestones{/number}","notifications_url":"https://api.github.com/repos/motech/modules/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/motech/modules/labels{/name}","releases_url":"https://api.github.com/repos/motech/modules/releases{/id}","deployments_url":"https://api.github.com/repos/motech/modules/deployments","created_at":"2014-05-14T15:41:17Z","updated_at":"2016-09-21T19:23:23Z","pushed_at":"2016-09-26T10:09:59Z","git_url":"git://github.com/motech/modules.git","ssh_url":"git@github.com:motech/modules.git","clone_url":"https://github.com/motech/modules.git","svn_url":"https://github.com/motech/modules","homepage":"http://modules.motechproject.org","size":40694,"stargazers_count":1,"watchers_count":1,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":57,"mirror_url":null,"open_issues_count":16,"forks":57,"open_issues":16,"watchers":1,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/motech/modules/pulls/452"},"html":{"href":"https://github.com/motech/modules/pull/452"},"issue":{"href":"https://api.github.com/repos/motech/modules/issues/452"},"comments":{"href":"https://api.github.com/repos/motech/modules/issues/452/comments"},"review_comments":{"href":"https://api.github.com/repos/motech/modules/pulls/452/comments"},"review_comment":{"href":"https://api.github.com/repos/motech/modules/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/motech/modules/pulls/452/commits"},"statuses":{"href":"https://api.github.com/repos/motech/modules/statuses/97820a2a369a0135a2461b1c59ac43cb9d33c7fa"}}}}
{"actor":{"display_login":"jredlarski"}}