{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/igorsales/OCMockito/pulls/1","id":84554495,"html_url":"https://github.com/igorsales/OCMockito/pull/1","diff_url":"https://github.com/igorsales/OCMockito/pull/1.diff","patch_url":"https://github.com/igorsales/OCMockito/pull/1.patch","issue_url":"https://api.github.com/repos/igorsales/OCMockito/issues/1","number":1,"state":"open","locked":false,"title":"Checking singleton mock with pointer comparison","user":{"login":"igorsales","id":38757,"avatar_url":"https://avatars.githubusercontent.com/u/38757?v=3","gravatar_id":"","url":"https://api.github.com/users/igorsales","html_url":"https://github.com/igorsales","followers_url":"https://api.github.com/users/igorsales/followers","following_url":"https://api.github.com/users/igorsales/following{/other_user}","gists_url":"https://api.github.com/users/igorsales/gists{/gist_id}","starred_url":"https://api.github.com/users/igorsales/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igorsales/subscriptions","organizations_url":"https://api.github.com/users/igorsales/orgs","repos_url":"https://api.github.com/users/igorsales/repos","events_url":"https://api.github.com/users/igorsales/events{/privacy}","received_events_url":"https://api.github.com/users/igorsales/received_events","type":"User","site_admin":false},"body":"Jon, I have ran into the issue again, where it intermittently does not work with that mock comparison in the if statement. So, I think comparing pointers ought to reliably work. Let me know if you would like to discuss further. It's happening for some of us, and not for some others (it may depend on the LLVM used).","created_at":"2016-09-08T21:09:22Z","updated_at":"2016-09-08T21:09:22Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/igorsales/OCMockito/pulls/1/commits","review_comments_url":"https://api.github.com/repos/igorsales/OCMockito/pulls/1/comments","review_comment_url":"https://api.github.com/repos/igorsales/OCMockito/pulls/comments{/number}","comments_url":"https://api.github.com/repos/igorsales/OCMockito/issues/1/comments","statuses_url":"https://api.github.com/repos/igorsales/OCMockito/statuses/db4c6229239092d671f646defc21c7db7c358ff8","head":{"label":"igorsales:stub_singleton_weak_ref_fix","ref":"stub_singleton_weak_ref_fix","sha":"db4c6229239092d671f646defc21c7db7c358ff8","user":{"login":"igorsales","id":38757,"avatar_url":"https://avatars.githubusercontent.com/u/38757?v=3","gravatar_id":"","url":"https://api.github.com/users/igorsales","html_url":"https://github.com/igorsales","followers_url":"https://api.github.com/users/igorsales/followers","following_url":"https://api.github.com/users/igorsales/following{/other_user}","gists_url":"https://api.github.com/users/igorsales/gists{/gist_id}","starred_url":"https://api.github.com/users/igorsales/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igorsales/subscriptions","organizations_url":"https://api.github.com/users/igorsales/orgs","repos_url":"https://api.github.com/users/igorsales/repos","events_url":"https://api.github.com/users/igorsales/events{/privacy}","received_events_url":"https://api.github.com/users/igorsales/received_events","type":"User","site_admin":false},"repo":{"id":58474300,"name":"OCMockito","full_name":"igorsales/OCMockito","owner":{"login":"igorsales","id":38757,"avatar_url":"https://avatars.githubusercontent.com/u/38757?v=3","gravatar_id":"","url":"https://api.github.com/users/igorsales","html_url":"https://github.com/igorsales","followers_url":"https://api.github.com/users/igorsales/followers","following_url":"https://api.github.com/users/igorsales/following{/other_user}","gists_url":"https://api.github.com/users/igorsales/gists{/gist_id}","starred_url":"https://api.github.com/users/igorsales/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igorsales/subscriptions","organizations_url":"https://api.github.com/users/igorsales/orgs","repos_url":"https://api.github.com/users/igorsales/repos","events_url":"https://api.github.com/users/igorsales/events{/privacy}","received_events_url":"https://api.github.com/users/igorsales/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/igorsales/OCMockito","description":"Mockito for Objective-C: creation, verification and stubbing of mock objects","fork":true,"url":"https://api.github.com/repos/igorsales/OCMockito","forks_url":"https://api.github.com/repos/igorsales/OCMockito/forks","keys_url":"https://api.github.com/repos/igorsales/OCMockito/keys{/key_id}","collaborators_url":"https://api.github.com/repos/igorsales/OCMockito/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/igorsales/OCMockito/teams","hooks_url":"https://api.github.com/repos/igorsales/OCMockito/hooks","issue_events_url":"https://api.github.com/repos/igorsales/OCMockito/issues/events{/number}","events_url":"https://api.github.com/repos/igorsales/OCMockito/events","assignees_url":"https://api.github.com/repos/igorsales/OCMockito/assignees{/user}","branches_url":"https://api.github.com/repos/igorsales/OCMockito/branches{/branch}","tags_url":"https://api.github.com/repos/igorsales/OCMockito/tags","blobs_url":"https://api.github.com/repos/igorsales/OCMockito/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/igorsales/OCMockito/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/igorsales/OCMockito/git/refs{/sha}","trees_url":"https://api.github.com/repos/igorsales/OCMockito/git/trees{/sha}","statuses_url":"https://api.github.com/repos/igorsales/OCMockito/statuses/{sha}","languages_url":"https://api.github.com/repos/igorsales/OCMockito/languages","stargazers_url":"https://api.github.com/repos/igorsales/OCMockito/stargazers","contributors_url":"https://api.github.com/repos/igorsales/OCMockito/contributors","subscribers_url":"https://api.github.com/repos/igorsales/OCMockito/subscribers","subscription_url":"https://api.github.com/repos/igorsales/OCMockito/subscription","commits_url":"https://api.github.com/repos/igorsales/OCMockito/commits{/sha}","git_commits_url":"https://api.github.com/repos/igorsales/OCMockito/git/commits{/sha}","comments_url":"https://api.github.com/repos/igorsales/OCMockito/comments{/number}","issue_comment_url":"https://api.github.com/repos/igorsales/OCMockito/issues/comments{/number}","contents_url":"https://api.github.com/repos/igorsales/OCMockito/contents/{+path}","compare_url":"https://api.github.com/repos/igorsales/OCMockito/compare/{base}...{head}","merges_url":"https://api.github.com/repos/igorsales/OCMockito/merges","archive_url":"https://api.github.com/repos/igorsales/OCMockito/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/igorsales/OCMockito/downloads","issues_url":"https://api.github.com/repos/igorsales/OCMockito/issues{/number}","pulls_url":"https://api.github.com/repos/igorsales/OCMockito/pulls{/number}","milestones_url":"https://api.github.com/repos/igorsales/OCMockito/milestones{/number}","notifications_url":"https://api.github.com/repos/igorsales/OCMockito/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/igorsales/OCMockito/labels{/name}","releases_url":"https://api.github.com/repos/igorsales/OCMockito/releases{/id}","deployments_url":"https://api.github.com/repos/igorsales/OCMockito/deployments","created_at":"2016-05-10T15:49:25Z","updated_at":"2016-05-10T15:49:26Z","pushed_at":"2016-09-08T21:09:22Z","git_url":"git://github.com/igorsales/OCMockito.git","ssh_url":"git@github.com:igorsales/OCMockito.git","clone_url":"https://github.com/igorsales/OCMockito.git","svn_url":"https://github.com/igorsales/OCMockito","homepage":"","size":4897,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"igorsales:master","ref":"master","sha":"c22669cf815cb019c47ded2442c50d85e018aa3c","user":{"login":"igorsales","id":38757,"avatar_url":"https://avatars.githubusercontent.com/u/38757?v=3","gravatar_id":"","url":"https://api.github.com/users/igorsales","html_url":"https://github.com/igorsales","followers_url":"https://api.github.com/users/igorsales/followers","following_url":"https://api.github.com/users/igorsales/following{/other_user}","gists_url":"https://api.github.com/users/igorsales/gists{/gist_id}","starred_url":"https://api.github.com/users/igorsales/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igorsales/subscriptions","organizations_url":"https://api.github.com/users/igorsales/orgs","repos_url":"https://api.github.com/users/igorsales/repos","events_url":"https://api.github.com/users/igorsales/events{/privacy}","received_events_url":"https://api.github.com/users/igorsales/received_events","type":"User","site_admin":false},"repo":{"id":58474300,"name":"OCMockito","full_name":"igorsales/OCMockito","owner":{"login":"igorsales","id":38757,"avatar_url":"https://avatars.githubusercontent.com/u/38757?v=3","gravatar_id":"","url":"https://api.github.com/users/igorsales","html_url":"https://github.com/igorsales","followers_url":"https://api.github.com/users/igorsales/followers","following_url":"https://api.github.com/users/igorsales/following{/other_user}","gists_url":"https://api.github.com/users/igorsales/gists{/gist_id}","starred_url":"https://api.github.com/users/igorsales/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/igorsales/subscriptions","organizations_url":"https://api.github.com/users/igorsales/orgs","repos_url":"https://api.github.com/users/igorsales/repos","events_url":"https://api.github.com/users/igorsales/events{/privacy}","received_events_url":"https://api.github.com/users/igorsales/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/igorsales/OCMockito","description":"Mockito for Objective-C: creation, verification and stubbing of mock objects","fork":true,"url":"https://api.github.com/repos/igorsales/OCMockito","forks_url":"https://api.github.com/repos/igorsales/OCMockito/forks","keys_url":"https://api.github.com/repos/igorsales/OCMockito/keys{/key_id}","collaborators_url":"https://api.github.com/repos/igorsales/OCMockito/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/igorsales/OCMockito/teams","hooks_url":"https://api.github.com/repos/igorsales/OCMockito/hooks","issue_events_url":"https://api.github.com/repos/igorsales/OCMockito/issues/events{/number}","events_url":"https://api.github.com/repos/igorsales/OCMockito/events","assignees_url":"https://api.github.com/repos/igorsales/OCMockito/assignees{/user}","branches_url":"https://api.github.com/repos/igorsales/OCMockito/branches{/branch}","tags_url":"https://api.github.com/repos/igorsales/OCMockito/tags","blobs_url":"https://api.github.com/repos/igorsales/OCMockito/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/igorsales/OCMockito/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/igorsales/OCMockito/git/refs{/sha}","trees_url":"https://api.github.com/repos/igorsales/OCMockito/git/trees{/sha}","statuses_url":"https://api.github.com/repos/igorsales/OCMockito/statuses/{sha}","languages_url":"https://api.github.com/repos/igorsales/OCMockito/languages","stargazers_url":"https://api.github.com/repos/igorsales/OCMockito/stargazers","contributors_url":"https://api.github.com/repos/igorsales/OCMockito/contributors","subscribers_url":"https://api.github.com/repos/igorsales/OCMockito/subscribers","subscription_url":"https://api.github.com/repos/igorsales/OCMockito/subscription","commits_url":"https://api.github.com/repos/igorsales/OCMockito/commits{/sha}","git_commits_url":"https://api.github.com/repos/igorsales/OCMockito/git/commits{/sha}","comments_url":"https://api.github.com/repos/igorsales/OCMockito/comments{/number}","issue_comment_url":"https://api.github.com/repos/igorsales/OCMockito/issues/comments{/number}","contents_url":"https://api.github.com/repos/igorsales/OCMockito/contents/{+path}","compare_url":"https://api.github.com/repos/igorsales/OCMockito/compare/{base}...{head}","merges_url":"https://api.github.com/repos/igorsales/OCMockito/merges","archive_url":"https://api.github.com/repos/igorsales/OCMockito/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/igorsales/OCMockito/downloads","issues_url":"https://api.github.com/repos/igorsales/OCMockito/issues{/number}","pulls_url":"https://api.github.com/repos/igorsales/OCMockito/pulls{/number}","milestones_url":"https://api.github.com/repos/igorsales/OCMockito/milestones{/number}","notifications_url":"https://api.github.com/repos/igorsales/OCMockito/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/igorsales/OCMockito/labels{/name}","releases_url":"https://api.github.com/repos/igorsales/OCMockito/releases{/id}","deployments_url":"https://api.github.com/repos/igorsales/OCMockito/deployments","created_at":"2016-05-10T15:49:25Z","updated_at":"2016-05-10T15:49:26Z","pushed_at":"2016-09-08T21:09:22Z","git_url":"git://github.com/igorsales/OCMockito.git","ssh_url":"git@github.com:igorsales/OCMockito.git","clone_url":"https://github.com/igorsales/OCMockito.git","svn_url":"https://github.com/igorsales/OCMockito","homepage":"","size":4897,"stargazers_count":0,"watchers_count":0,"language":"Objective-C","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/igorsales/OCMockito/pulls/1"},"html":{"href":"https://github.com/igorsales/OCMockito/pull/1"},"issue":{"href":"https://api.github.com/repos/igorsales/OCMockito/issues/1"},"comments":{"href":"https://api.github.com/repos/igorsales/OCMockito/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/igorsales/OCMockito/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/igorsales/OCMockito/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/igorsales/OCMockito/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/igorsales/OCMockito/statuses/db4c6229239092d671f646defc21c7db7c358ff8"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":5,"deletions":3,"changed_files":1}}
{"actor":{"display_login":"igorsales"}}