{"action":"created","comment":{"url":"https://api.github.com/repos/MinionsGroup/devfund-h/pulls/comments/205952207","pull_request_review_id":141325815,"id":205952207,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIwNTk1MjIwNw==","diff_hunk":"@@ -0,0 +1,51 @@\n+package org.minions.devfund.richard.moviedatabase;\n+\n+import org.junit.Before;\n+import org.junit.Test;\n+\n+import static org.junit.Assert.assertEquals;\n+import static org.junit.Assert.assertFalse;\n+\n+\n+/**\n+ * Test Class.\n+ */\n+public class ActorTest {\n+\n+    private Actor actor;\n+\n+    /**\n+     * Before.\n+     */\n+    @Before\n+    public void setUp() {\n+        actor = new Actor();\n+    }\n+\n+    /**\n+     * Test.\n+     */\n+    @Test\n+    public void testAddMovieAlreadyExist() {\n+        final Movie movie1 = new Movie();\n+        final Movie movie2 = new Movie();\n+        movie1.setName(\"Movie1\");\n+        movie2.setName(\"Movie2\");\n+        actor.setMovies(movie1);\n+        actor.setMovies(movie2);\n+        actor.setMovies(movie1);\n+        assertEquals(2, actor.getMovies().size());\n+        assertEquals(\"Movie1\", actor.getMovies().get(0).getName());\n+        assertEquals(\"Movie2\", actor.getMovies().get(1).getName());\n+    }\n+\n+    /**\n+     * Test.\n+     */\n+    @Test\n+    public void testEquals() {\n+        assertFalse(actor.equals(null));","path":"src/test/java/org/minions/devfund/richard/moviedatabase/ActorTest.java","position":47,"original_position":47,"commit_id":"c18cbf37ca3f457036ac51699df289d7c80a38be","original_commit_id":"c18cbf37ca3f457036ac51699df289d7c80a38be","user":{"login":"carledriss","id":3298869,"node_id":"MDQ6VXNlcjMyOTg4Njk=","avatar_url":"https://avatars2.githubusercontent.com/u/3298869?v=4","gravatar_id":"","url":"https://api.github.com/users/carledriss","html_url":"https://github.com/carledriss","followers_url":"https://api.github.com/users/carledriss/followers","following_url":"https://api.github.com/users/carledriss/following{/other_user}","gists_url":"https://api.github.com/users/carledriss/gists{/gist_id}","starred_url":"https://api.github.com/users/carledriss/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/carledriss/subscriptions","organizations_url":"https://api.github.com/users/carledriss/orgs","repos_url":"https://api.github.com/users/carledriss/repos","events_url":"https://api.github.com/users/carledriss/events{/privacy}","received_events_url":"https://api.github.com/users/carledriss/received_events","type":"User","site_admin":false},"body":"![MAJOR](https://sonarsource.github.io/sonar-github/severity-major.png 'Severity: MAJOR') Remove this call to \"equals\"; comparisons against null always return false; consider using '== null' to check for nullity. [![rule](https://sonarsource.github.io/sonar-github/rule.png)](https://sonarcloud.io/coding_rules#rule_key=squid%3AS2159)\n","created_at":"2018-07-28T19:38:24Z","updated_at":"2018-07-28T19:38:24Z","html_url":"https://github.com/MinionsGroup/devfund-h/pull/52#discussion_r205952207","pull_request_url":"https://api.github.com/repos/MinionsGroup/devfund-h/pulls/52","author_association":"CONTRIBUTOR","_links":{"self":{"href":"https://api.github.com/repos/MinionsGroup/devfund-h/pulls/comments/205952207"},"html":{"href":"https://github.com/MinionsGroup/devfund-h/pull/52#discussion_r205952207"},"pull_request":{"href":"https://api.github.com/repos/MinionsGroup/devfund-h/pulls/52"}}},"pull_request":{"url":"https://api.github.com/repos/MinionsGroup/devfund-h/pulls/52","id":204607683,"node_id":"MDExOlB1bGxSZXF1ZXN0MjA0NjA3Njgz","html_url":"https://github.com/MinionsGroup/devfund-h/pull/52","diff_url":"https://github.com/MinionsGroup/devfund-h/pull/52.diff","patch_url":"https://github.com/MinionsGroup/devfund-h/pull/52.patch","issue_url":"https://api.github.com/repos/MinionsGroup/devfund-h/issues/52","number":52,"state":"open","locked":false,"title":"Richard/MovieDatabase","user":{"login":"RichardSeverich","id":28739313,"node_id":"MDQ6VXNlcjI4NzM5MzEz","avatar_url":"https://avatars1.githubusercontent.com/u/28739313?v=4","gravatar_id":"","url":"https://api.github.com/users/RichardSeverich","html_url":"https://github.com/RichardSeverich","followers_url":"https://api.github.com/users/RichardSeverich/followers","following_url":"https://api.github.com/users/RichardSeverich/following{/other_user}","gists_url":"https://api.github.com/users/RichardSeverich/gists{/gist_id}","starred_url":"https://api.github.com/users/RichardSeverich/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/RichardSeverich/subscriptions","organizations_url":"https://api.github.com/users/RichardSeverich/orgs","repos_url":"https://api.github.com/users/RichardSeverich/repos","events_url":"https://api.github.com/users/RichardSeverich/events{/privacy}","received_events_url":"https://api.github.com/users/RichardSeverich/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-07-28T19:36:27Z","updated_at":"2018-07-28T19:38:24Z","closed_at":null,"merged_at":null,"merge_commit_sha":"88c33ef8b3d0e5f89e1a987707bdfb49d61a2b43","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/MinionsGroup/devfund-h/pulls/52/commits","review_comments_url":"https://api.github.com/repos/MinionsGroup/devfund-h/pulls/52/comments","review_comment_url":"https://api.github.com/repos/MinionsGroup/devfund-h/pulls/comments{/number}","comments_url":"https://api.github.com/repos/MinionsGroup/devfund-h/issues/52/comments","statuses_url":"https://api.github.com/repos/MinionsGroup/devfund-h/statuses/c18cbf37ca3f457036ac51699df289d7c80a38be","head":{"label":"MinionsGroup:Richard/MovieDatabase","ref":"Richard/MovieDatabase","sha":"c18cbf37ca3f457036ac51699df289d7c80a38be","user":{"login":"MinionsGroup","id":38253777,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4MjUzNzc3","avatar_url":"https://avatars2.githubusercontent.com/u/38253777?v=4","gravatar_id":"","url":"https://api.github.com/users/MinionsGroup","html_url":"https://github.com/MinionsGroup","followers_url":"https://api.github.com/users/MinionsGroup/followers","following_url":"https://api.github.com/users/MinionsGroup/following{/other_user}","gists_url":"https://api.github.com/users/MinionsGroup/gists{/gist_id}","starred_url":"https://api.github.com/users/MinionsGroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MinionsGroup/subscriptions","organizations_url":"https://api.github.com/users/MinionsGroup/orgs","repos_url":"https://api.github.com/users/MinionsGroup/repos","events_url":"https://api.github.com/users/MinionsGroup/events{/privacy}","received_events_url":"https://api.github.com/users/MinionsGroup/received_events","type":"Organization","site_admin":false},"repo":{"id":139185720,"node_id":"MDEwOlJlcG9zaXRvcnkxMzkxODU3MjA=","name":"devfund-h","full_name":"MinionsGroup/devfund-h","owner":{"login":"MinionsGroup","id":38253777,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4MjUzNzc3","avatar_url":"https://avatars2.githubusercontent.com/u/38253777?v=4","gravatar_id":"","url":"https://api.github.com/users/MinionsGroup","html_url":"https://github.com/MinionsGroup","followers_url":"https://api.github.com/users/MinionsGroup/followers","following_url":"https://api.github.com/users/MinionsGroup/following{/other_user}","gists_url":"https://api.github.com/users/MinionsGroup/gists{/gist_id}","starred_url":"https://api.github.com/users/MinionsGroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MinionsGroup/subscriptions","organizations_url":"https://api.github.com/users/MinionsGroup/orgs","repos_url":"https://api.github.com/users/MinionsGroup/repos","events_url":"https://api.github.com/users/MinionsGroup/events{/privacy}","received_events_url":"https://api.github.com/users/MinionsGroup/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MinionsGroup/devfund-h","description":null,"fork":false,"url":"https://api.github.com/repos/MinionsGroup/devfund-h","forks_url":"https://api.github.com/repos/MinionsGroup/devfund-h/forks","keys_url":"https://api.github.com/repos/MinionsGroup/devfund-h/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MinionsGroup/devfund-h/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MinionsGroup/devfund-h/teams","hooks_url":"https://api.github.com/repos/MinionsGroup/devfund-h/hooks","issue_events_url":"https://api.github.com/repos/MinionsGroup/devfund-h/issues/events{/number}","events_url":"https://api.github.com/repos/MinionsGroup/devfund-h/events","assignees_url":"https://api.github.com/repos/MinionsGroup/devfund-h/assignees{/user}","branches_url":"https://api.github.com/repos/MinionsGroup/devfund-h/branches{/branch}","tags_url":"https://api.github.com/repos/MinionsGroup/devfund-h/tags","blobs_url":"https://api.github.com/repos/MinionsGroup/devfund-h/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MinionsGroup/devfund-h/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MinionsGroup/devfund-h/git/refs{/sha}","trees_url":"https://api.github.com/repos/MinionsGroup/devfund-h/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MinionsGroup/devfund-h/statuses/{sha}","languages_url":"https://api.github.com/repos/MinionsGroup/devfund-h/languages","stargazers_url":"https://api.github.com/repos/MinionsGroup/devfund-h/stargazers","contributors_url":"https://api.github.com/repos/MinionsGroup/devfund-h/contributors","subscribers_url":"https://api.github.com/repos/MinionsGroup/devfund-h/subscribers","subscription_url":"https://api.github.com/repos/MinionsGroup/devfund-h/subscription","commits_url":"https://api.github.com/repos/MinionsGroup/devfund-h/commits{/sha}","git_commits_url":"https://api.github.com/repos/MinionsGroup/devfund-h/git/commits{/sha}","comments_url":"https://api.github.com/repos/MinionsGroup/devfund-h/comments{/number}","issue_comment_url":"https://api.github.com/repos/MinionsGroup/devfund-h/issues/comments{/number}","contents_url":"https://api.github.com/repos/MinionsGroup/devfund-h/contents/{+path}","compare_url":"https://api.github.com/repos/MinionsGroup/devfund-h/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MinionsGroup/devfund-h/merges","archive_url":"https://api.github.com/repos/MinionsGroup/devfund-h/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MinionsGroup/devfund-h/downloads","issues_url":"https://api.github.com/repos/MinionsGroup/devfund-h/issues{/number}","pulls_url":"https://api.github.com/repos/MinionsGroup/devfund-h/pulls{/number}","milestones_url":"https://api.github.com/repos/MinionsGroup/devfund-h/milestones{/number}","notifications_url":"https://api.github.com/repos/MinionsGroup/devfund-h/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MinionsGroup/devfund-h/labels{/name}","releases_url":"https://api.github.com/repos/MinionsGroup/devfund-h/releases{/id}","deployments_url":"https://api.github.com/repos/MinionsGroup/devfund-h/deployments","created_at":"2018-06-29T19:02:39Z","updated_at":"2018-07-25T15:58:53Z","pushed_at":"2018-07-28T19:36:28Z","git_url":"git://github.com/MinionsGroup/devfund-h.git","ssh_url":"git@github.com:MinionsGroup/devfund-h.git","clone_url":"https://github.com/MinionsGroup/devfund-h.git","svn_url":"https://github.com/MinionsGroup/devfund-h","homepage":null,"size":253,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":19,"license":null,"forks":0,"open_issues":19,"watchers":0,"default_branch":"develop"}},"base":{"label":"MinionsGroup:develop","ref":"develop","sha":"a7900d9caab72896fcbada7d0158f36334dac548","user":{"login":"MinionsGroup","id":38253777,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4MjUzNzc3","avatar_url":"https://avatars2.githubusercontent.com/u/38253777?v=4","gravatar_id":"","url":"https://api.github.com/users/MinionsGroup","html_url":"https://github.com/MinionsGroup","followers_url":"https://api.github.com/users/MinionsGroup/followers","following_url":"https://api.github.com/users/MinionsGroup/following{/other_user}","gists_url":"https://api.github.com/users/MinionsGroup/gists{/gist_id}","starred_url":"https://api.github.com/users/MinionsGroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MinionsGroup/subscriptions","organizations_url":"https://api.github.com/users/MinionsGroup/orgs","repos_url":"https://api.github.com/users/MinionsGroup/repos","events_url":"https://api.github.com/users/MinionsGroup/events{/privacy}","received_events_url":"https://api.github.com/users/MinionsGroup/received_events","type":"Organization","site_admin":false},"repo":{"id":139185720,"node_id":"MDEwOlJlcG9zaXRvcnkxMzkxODU3MjA=","name":"devfund-h","full_name":"MinionsGroup/devfund-h","owner":{"login":"MinionsGroup","id":38253777,"node_id":"MDEyOk9yZ2FuaXphdGlvbjM4MjUzNzc3","avatar_url":"https://avatars2.githubusercontent.com/u/38253777?v=4","gravatar_id":"","url":"https://api.github.com/users/MinionsGroup","html_url":"https://github.com/MinionsGroup","followers_url":"https://api.github.com/users/MinionsGroup/followers","following_url":"https://api.github.com/users/MinionsGroup/following{/other_user}","gists_url":"https://api.github.com/users/MinionsGroup/gists{/gist_id}","starred_url":"https://api.github.com/users/MinionsGroup/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MinionsGroup/subscriptions","organizations_url":"https://api.github.com/users/MinionsGroup/orgs","repos_url":"https://api.github.com/users/MinionsGroup/repos","events_url":"https://api.github.com/users/MinionsGroup/events{/privacy}","received_events_url":"https://api.github.com/users/MinionsGroup/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/MinionsGroup/devfund-h","description":null,"fork":false,"url":"https://api.github.com/repos/MinionsGroup/devfund-h","forks_url":"https://api.github.com/repos/MinionsGroup/devfund-h/forks","keys_url":"https://api.github.com/repos/MinionsGroup/devfund-h/keys{/key_id}","collaborators_url":"https://api.github.com/repos/MinionsGroup/devfund-h/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/MinionsGroup/devfund-h/teams","hooks_url":"https://api.github.com/repos/MinionsGroup/devfund-h/hooks","issue_events_url":"https://api.github.com/repos/MinionsGroup/devfund-h/issues/events{/number}","events_url":"https://api.github.com/repos/MinionsGroup/devfund-h/events","assignees_url":"https://api.github.com/repos/MinionsGroup/devfund-h/assignees{/user}","branches_url":"https://api.github.com/repos/MinionsGroup/devfund-h/branches{/branch}","tags_url":"https://api.github.com/repos/MinionsGroup/devfund-h/tags","blobs_url":"https://api.github.com/repos/MinionsGroup/devfund-h/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/MinionsGroup/devfund-h/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/MinionsGroup/devfund-h/git/refs{/sha}","trees_url":"https://api.github.com/repos/MinionsGroup/devfund-h/git/trees{/sha}","statuses_url":"https://api.github.com/repos/MinionsGroup/devfund-h/statuses/{sha}","languages_url":"https://api.github.com/repos/MinionsGroup/devfund-h/languages","stargazers_url":"https://api.github.com/repos/MinionsGroup/devfund-h/stargazers","contributors_url":"https://api.github.com/repos/MinionsGroup/devfund-h/contributors","subscribers_url":"https://api.github.com/repos/MinionsGroup/devfund-h/subscribers","subscription_url":"https://api.github.com/repos/MinionsGroup/devfund-h/subscription","commits_url":"https://api.github.com/repos/MinionsGroup/devfund-h/commits{/sha}","git_commits_url":"https://api.github.com/repos/MinionsGroup/devfund-h/git/commits{/sha}","comments_url":"https://api.github.com/repos/MinionsGroup/devfund-h/comments{/number}","issue_comment_url":"https://api.github.com/repos/MinionsGroup/devfund-h/issues/comments{/number}","contents_url":"https://api.github.com/repos/MinionsGroup/devfund-h/contents/{+path}","compare_url":"https://api.github.com/repos/MinionsGroup/devfund-h/compare/{base}...{head}","merges_url":"https://api.github.com/repos/MinionsGroup/devfund-h/merges","archive_url":"https://api.github.com/repos/MinionsGroup/devfund-h/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/MinionsGroup/devfund-h/downloads","issues_url":"https://api.github.com/repos/MinionsGroup/devfund-h/issues{/number}","pulls_url":"https://api.github.com/repos/MinionsGroup/devfund-h/pulls{/number}","milestones_url":"https://api.github.com/repos/MinionsGroup/devfund-h/milestones{/number}","notifications_url":"https://api.github.com/repos/MinionsGroup/devfund-h/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/MinionsGroup/devfund-h/labels{/name}","releases_url":"https://api.github.com/repos/MinionsGroup/devfund-h/releases{/id}","deployments_url":"https://api.github.com/repos/MinionsGroup/devfund-h/deployments","created_at":"2018-06-29T19:02:39Z","updated_at":"2018-07-25T15:58:53Z","pushed_at":"2018-07-28T19:36:28Z","git_url":"git://github.com/MinionsGroup/devfund-h.git","ssh_url":"git@github.com:MinionsGroup/devfund-h.git","clone_url":"https://github.com/MinionsGroup/devfund-h.git","svn_url":"https://github.com/MinionsGroup/devfund-h","homepage":null,"size":253,"stargazers_count":0,"watchers_count":0,"language":"Java","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":19,"license":null,"forks":0,"open_issues":19,"watchers":0,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/MinionsGroup/devfund-h/pulls/52"},"html":{"href":"https://github.com/MinionsGroup/devfund-h/pull/52"},"issue":{"href":"https://api.github.com/repos/MinionsGroup/devfund-h/issues/52"},"comments":{"href":"https://api.github.com/repos/MinionsGroup/devfund-h/issues/52/comments"},"review_comments":{"href":"https://api.github.com/repos/MinionsGroup/devfund-h/pulls/52/comments"},"review_comment":{"href":"https://api.github.com/repos/MinionsGroup/devfund-h/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/MinionsGroup/devfund-h/pulls/52/commits"},"statuses":{"href":"https://api.github.com/repos/MinionsGroup/devfund-h/statuses/c18cbf37ca3f457036ac51699df289d7c80a38be"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"carledriss"}}