{"action":"created","comment":{"url":"https://api.github.com/repos/javers/javers/pulls/comments/49506583","id":49506583,"diff_hunk":"@@ -50,9 +52,12 @@ class OptionalChangeAppenderTest extends AbstractDiffAppendersTest {\n         ChangeAssert.assertThat(change)\n                     .hasInstanceId(SnapshotEntity, 1)\n         change instanceof ReferenceChange\n-        change.left == expectedLeftRef\n-        change.right == expectedRightRef\n-\n+        ReferenceChangeAssert.assertThat( change )\n+            .hasLeftReference( expectedLeftRef )\n+            .hasRightReference( expectedRightRef )\n+            .hasLeftObject( org.javers.common.collections.Optional.empty() )\n+            .hasRightObject( org.javers.common.collections.Optional.empty() )","path":"javers-core/src/test/groovy/org/javers/core/diff/appenders/OptionalChangeAppenderTest.groovy","position":20,"original_position":20,"commit_id":"a8214762f6d865e994de38ffa7143b44948820d5","original_commit_id":"a8214762f6d865e994de38ffa7143b44948820d5","user":{"login":"bartoszwalacik","id":2511028,"avatar_url":"https://avatars.githubusercontent.com/u/2511028?v=3","gravatar_id":"","url":"https://api.github.com/users/bartoszwalacik","html_url":"https://github.com/bartoszwalacik","followers_url":"https://api.github.com/users/bartoszwalacik/followers","following_url":"https://api.github.com/users/bartoszwalacik/following{/other_user}","gists_url":"https://api.github.com/users/bartoszwalacik/gists{/gist_id}","starred_url":"https://api.github.com/users/bartoszwalacik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartoszwalacik/subscriptions","organizations_url":"https://api.github.com/users/bartoszwalacik/orgs","repos_url":"https://api.github.com/users/bartoszwalacik/repos","events_url":"https://api.github.com/users/bartoszwalacik/events{/privacy}","received_events_url":"https://api.github.com/users/bartoszwalacik/received_events","type":"User","site_admin":false},"body":"why not\r\n```\r\n        change.leftObject == leftOptional\r\n        change.rightObject == rightOptional\r\n```\r\n?","created_at":"2016-01-12T20:10:32Z","updated_at":"2016-01-12T20:10:32Z","html_url":"https://github.com/javers/javers/pull/296#discussion_r49506583","pull_request_url":"https://api.github.com/repos/javers/javers/pulls/296","_links":{"self":{"href":"https://api.github.com/repos/javers/javers/pulls/comments/49506583"},"html":{"href":"https://github.com/javers/javers/pull/296#discussion_r49506583"},"pull_request":{"href":"https://api.github.com/repos/javers/javers/pulls/296"}}},"pull_request":{"url":"https://api.github.com/repos/javers/javers/pulls/296","id":55569366,"html_url":"https://github.com/javers/javers/pull/296","diff_url":"https://github.com/javers/javers/pull/296.diff","patch_url":"https://github.com/javers/javers/pull/296.patch","issue_url":"https://api.github.com/repos/javers/javers/issues/296","number":296,"state":"open","locked":false,"title":"Issue 286 - expose object references in ReferenceChange","user":{"login":"gtnarg","id":1252704,"avatar_url":"https://avatars.githubusercontent.com/u/1252704?v=3","gravatar_id":"","url":"https://api.github.com/users/gtnarg","html_url":"https://github.com/gtnarg","followers_url":"https://api.github.com/users/gtnarg/followers","following_url":"https://api.github.com/users/gtnarg/following{/other_user}","gists_url":"https://api.github.com/users/gtnarg/gists{/gist_id}","starred_url":"https://api.github.com/users/gtnarg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gtnarg/subscriptions","organizations_url":"https://api.github.com/users/gtnarg/orgs","repos_url":"https://api.github.com/users/gtnarg/repos","events_url":"https://api.github.com/users/gtnarg/events{/privacy}","received_events_url":"https://api.github.com/users/gtnarg/received_events","type":"User","site_admin":false},"body":"Any comments or feedback welcomed :)","created_at":"2016-01-10T17:15:33Z","updated_at":"2016-01-12T20:10:32Z","closed_at":null,"merged_at":null,"merge_commit_sha":"194328b604646cf736bdccaaa93c322a4fac3fd4","assignee":{"login":"bartoszwalacik","id":2511028,"avatar_url":"https://avatars.githubusercontent.com/u/2511028?v=3","gravatar_id":"","url":"https://api.github.com/users/bartoszwalacik","html_url":"https://github.com/bartoszwalacik","followers_url":"https://api.github.com/users/bartoszwalacik/followers","following_url":"https://api.github.com/users/bartoszwalacik/following{/other_user}","gists_url":"https://api.github.com/users/bartoszwalacik/gists{/gist_id}","starred_url":"https://api.github.com/users/bartoszwalacik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bartoszwalacik/subscriptions","organizations_url":"https://api.github.com/users/bartoszwalacik/orgs","repos_url":"https://api.github.com/users/bartoszwalacik/repos","events_url":"https://api.github.com/users/bartoszwalacik/events{/privacy}","received_events_url":"https://api.github.com/users/bartoszwalacik/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/javers/javers/pulls/296/commits","review_comments_url":"https://api.github.com/repos/javers/javers/pulls/296/comments","review_comment_url":"https://api.github.com/repos/javers/javers/pulls/comments{/number}","comments_url":"https://api.github.com/repos/javers/javers/issues/296/comments","statuses_url":"https://api.github.com/repos/javers/javers/statuses/a8214762f6d865e994de38ffa7143b44948820d5","head":{"label":"gtnarg:issue286","ref":"issue286","sha":"a8214762f6d865e994de38ffa7143b44948820d5","user":{"login":"gtnarg","id":1252704,"avatar_url":"https://avatars.githubusercontent.com/u/1252704?v=3","gravatar_id":"","url":"https://api.github.com/users/gtnarg","html_url":"https://github.com/gtnarg","followers_url":"https://api.github.com/users/gtnarg/followers","following_url":"https://api.github.com/users/gtnarg/following{/other_user}","gists_url":"https://api.github.com/users/gtnarg/gists{/gist_id}","starred_url":"https://api.github.com/users/gtnarg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gtnarg/subscriptions","organizations_url":"https://api.github.com/users/gtnarg/orgs","repos_url":"https://api.github.com/users/gtnarg/repos","events_url":"https://api.github.com/users/gtnarg/events{/privacy}","received_events_url":"https://api.github.com/users/gtnarg/received_events","type":"User","site_admin":false},"repo":{"id":49335210,"name":"javers","full_name":"gtnarg/javers","owner":{"login":"gtnarg","id":1252704,"avatar_url":"https://avatars.githubusercontent.com/u/1252704?v=3","gravatar_id":"","url":"https://api.github.com/users/gtnarg","html_url":"https://github.com/gtnarg","followers_url":"https://api.github.com/users/gtnarg/followers","following_url":"https://api.github.com/users/gtnarg/following{/other_user}","gists_url":"https://api.github.com/users/gtnarg/gists{/gist_id}","starred_url":"https://api.github.com/users/gtnarg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gtnarg/subscriptions","organizations_url":"https://api.github.com/users/gtnarg/orgs","repos_url":"https://api.github.com/users/gtnarg/repos","events_url":"https://api.github.com/users/gtnarg/events{/privacy}","received_events_url":"https://api.github.com/users/gtnarg/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/gtnarg/javers","description":"JaVers is a tool for auditing object-oriented data","fork":true,"url":"https://api.github.com/repos/gtnarg/javers","forks_url":"https://api.github.com/repos/gtnarg/javers/forks","keys_url":"https://api.github.com/repos/gtnarg/javers/keys{/key_id}","collaborators_url":"https://api.github.com/repos/gtnarg/javers/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/gtnarg/javers/teams","hooks_url":"https://api.github.com/repos/gtnarg/javers/hooks","issue_events_url":"https://api.github.com/repos/gtnarg/javers/issues/events{/number}","events_url":"https://api.github.com/repos/gtnarg/javers/events","assignees_url":"https://api.github.com/repos/gtnarg/javers/assignees{/user}","branches_url":"https://api.github.com/repos/gtnarg/javers/branches{/branch}","tags_url":"https://api.github.com/repos/gtnarg/javers/tags","blobs_url":"https://api.github.com/repos/gtnarg/javers/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/gtnarg/javers/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/gtnarg/javers/git/refs{/sha}","trees_url":"https://api.github.com/repos/gtnarg/javers/git/trees{/sha}","statuses_url":"https://api.github.com/repos/gtnarg/javers/statuses/{sha}","languages_url":"https://api.github.com/repos/gtnarg/javers/languages","stargazers_url":"https://api.github.com/repos/gtnarg/javers/stargazers","contributors_url":"https://api.github.com/repos/gtnarg/javers/contributors","subscribers_url":"https://api.github.com/repos/gtnarg/javers/subscribers","subscription_url":"https://api.github.com/repos/gtnarg/javers/subscription","commits_url":"https://api.github.com/repos/gtnarg/javers/commits{/sha}","git_commits_url":"https://api.github.com/repos/gtnarg/javers/git/commits{/sha}","comments_url":"https://api.github.com/repos/gtnarg/javers/comments{/number}","issue_comment_url":"https://api.github.com/repos/gtnarg/javers/issues/comments{/number}","contents_url":"https://api.github.com/repos/gtnarg/javers/contents/{+path}","compare_url":"https://api.github.com/repos/gtnarg/javers/compare/{base}...{head}","merges_url":"https://api.github.com/repos/gtnarg/javers/merges","archive_url":"https://api.github.com/repos/gtnarg/javers/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/gtnarg/javers/downloads","issues_url":"https://api.github.com/repos/gtnarg/javers/issues{/number}","pulls_url":"https://api.github.com/repos/gtnarg/javers/pulls{/number}","milestones_url":"https://api.github.com/repos/gtnarg/javers/milestones{/number}","notifications_url":"https://api.github.com/repos/gtnarg/javers/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/gtnarg/javers/labels{/name}","releases_url":"https://api.github.com/repos/gtnarg/javers/releases{/id}","created_at":"2016-01-09T18:03:34Z","updated_at":"2016-01-09T18:03:36Z","pushed_at":"2016-01-12T15:06:45Z","git_url":"git://github.com/gtnarg/javers.git","ssh_url":"git@github.com:gtnarg/javers.git","clone_url":"https://github.com/gtnarg/javers.git","svn_url":"https://github.com/gtnarg/javers","homepage":"","size":3463,"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":"javers:master","ref":"master","sha":"1e0a8e49e50e45774df33afd23c01db50a970cdd","user":{"login":"javers","id":6149633,"avatar_url":"https://avatars.githubusercontent.com/u/6149633?v=3","gravatar_id":"","url":"https://api.github.com/users/javers","html_url":"https://github.com/javers","followers_url":"https://api.github.com/users/javers/followers","following_url":"https://api.github.com/users/javers/following{/other_user}","gists_url":"https://api.github.com/users/javers/gists{/gist_id}","starred_url":"https://api.github.com/users/javers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javers/subscriptions","organizations_url":"https://api.github.com/users/javers/orgs","repos_url":"https://api.github.com/users/javers/repos","events_url":"https://api.github.com/users/javers/events{/privacy}","received_events_url":"https://api.github.com/users/javers/received_events","type":"Organization","site_admin":false},"repo":{"id":15071115,"name":"javers","full_name":"javers/javers","owner":{"login":"javers","id":6149633,"avatar_url":"https://avatars.githubusercontent.com/u/6149633?v=3","gravatar_id":"","url":"https://api.github.com/users/javers","html_url":"https://github.com/javers","followers_url":"https://api.github.com/users/javers/followers","following_url":"https://api.github.com/users/javers/following{/other_user}","gists_url":"https://api.github.com/users/javers/gists{/gist_id}","starred_url":"https://api.github.com/users/javers/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javers/subscriptions","organizations_url":"https://api.github.com/users/javers/orgs","repos_url":"https://api.github.com/users/javers/repos","events_url":"https://api.github.com/users/javers/events{/privacy}","received_events_url":"https://api.github.com/users/javers/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/javers/javers","description":"JaVers is a tool for auditing object-oriented data","fork":false,"url":"https://api.github.com/repos/javers/javers","forks_url":"https://api.github.com/repos/javers/javers/forks","keys_url":"https://api.github.com/repos/javers/javers/keys{/key_id}","collaborators_url":"https://api.github.com/repos/javers/javers/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/javers/javers/teams","hooks_url":"https://api.github.com/repos/javers/javers/hooks","issue_events_url":"https://api.github.com/repos/javers/javers/issues/events{/number}","events_url":"https://api.github.com/repos/javers/javers/events","assignees_url":"https://api.github.com/repos/javers/javers/assignees{/user}","branches_url":"https://api.github.com/repos/javers/javers/branches{/branch}","tags_url":"https://api.github.com/repos/javers/javers/tags","blobs_url":"https://api.github.com/repos/javers/javers/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/javers/javers/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/javers/javers/git/refs{/sha}","trees_url":"https://api.github.com/repos/javers/javers/git/trees{/sha}","statuses_url":"https://api.github.com/repos/javers/javers/statuses/{sha}","languages_url":"https://api.github.com/repos/javers/javers/languages","stargazers_url":"https://api.github.com/repos/javers/javers/stargazers","contributors_url":"https://api.github.com/repos/javers/javers/contributors","subscribers_url":"https://api.github.com/repos/javers/javers/subscribers","subscription_url":"https://api.github.com/repos/javers/javers/subscription","commits_url":"https://api.github.com/repos/javers/javers/commits{/sha}","git_commits_url":"https://api.github.com/repos/javers/javers/git/commits{/sha}","comments_url":"https://api.github.com/repos/javers/javers/comments{/number}","issue_comment_url":"https://api.github.com/repos/javers/javers/issues/comments{/number}","contents_url":"https://api.github.com/repos/javers/javers/contents/{+path}","compare_url":"https://api.github.com/repos/javers/javers/compare/{base}...{head}","merges_url":"https://api.github.com/repos/javers/javers/merges","archive_url":"https://api.github.com/repos/javers/javers/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/javers/javers/downloads","issues_url":"https://api.github.com/repos/javers/javers/issues{/number}","pulls_url":"https://api.github.com/repos/javers/javers/pulls{/number}","milestones_url":"https://api.github.com/repos/javers/javers/milestones{/number}","notifications_url":"https://api.github.com/repos/javers/javers/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/javers/javers/labels{/name}","releases_url":"https://api.github.com/repos/javers/javers/releases{/id}","created_at":"2013-12-10T08:23:03Z","updated_at":"2016-01-12T18:54:32Z","pushed_at":"2016-01-12T15:06:45Z","git_url":"git://github.com/javers/javers.git","ssh_url":"git@github.com:javers/javers.git","clone_url":"https://github.com/javers/javers.git","svn_url":"https://github.com/javers/javers","homepage":"","size":4005,"stargazers_count":126,"watchers_count":126,"language":"Java","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":40,"mirror_url":null,"open_issues_count":30,"forks":40,"open_issues":30,"watchers":126,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/javers/javers/pulls/296"},"html":{"href":"https://github.com/javers/javers/pull/296"},"issue":{"href":"https://api.github.com/repos/javers/javers/issues/296"},"comments":{"href":"https://api.github.com/repos/javers/javers/issues/296/comments"},"review_comments":{"href":"https://api.github.com/repos/javers/javers/pulls/296/comments"},"review_comment":{"href":"https://api.github.com/repos/javers/javers/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/javers/javers/pulls/296/commits"},"statuses":{"href":"https://api.github.com/repos/javers/javers/statuses/a8214762f6d865e994de38ffa7143b44948820d5"}}}}