{"action":"opened","issue":{"url":"https://api.github.com/repos/henri-tremblay/mytest/issues/155","labels_url":"https://api.github.com/repos/henri-tremblay/mytest/issues/155/labels{/name}","comments_url":"https://api.github.com/repos/henri-tremblay/mytest/issues/155/comments","events_url":"https://api.github.com/repos/henri-tremblay/mytest/issues/155/events","html_url":"https://github.com/henri-tremblay/mytest/issues/155","id":83255595,"number":155,"title":"Expectations on partial mocks are broken","user":{"login":"henri-tremblay","id":1216819,"avatar_url":"https://avatars.githubusercontent.com/u/1216819?v=3","gravatar_id":"","url":"https://api.github.com/users/henri-tremblay","html_url":"https://github.com/henri-tremblay","followers_url":"https://api.github.com/users/henri-tremblay/followers","following_url":"https://api.github.com/users/henri-tremblay/following{/other_user}","gists_url":"https://api.github.com/users/henri-tremblay/gists{/gist_id}","starred_url":"https://api.github.com/users/henri-tremblay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henri-tremblay/subscriptions","organizations_url":"https://api.github.com/users/henri-tremblay/orgs","repos_url":"https://api.github.com/users/henri-tremblay/repos","events_url":"https://api.github.com/users/henri-tremblay/events{/privacy}","received_events_url":"https://api.github.com/users/henri-tremblay/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/henri-tremblay/mytest/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/henri-tremblay/mytest/labels/classextension","name":"classextension","color":"f7c6c7"},{"url":"https://api.github.com/repos/henri-tremblay/mytest/labels/fixed","name":"fixed","color":"c7def8"},{"url":"https://api.github.com/repos/henri-tremblay/mytest/labels/major","name":"major","color":"f7c6c7"}],"state":"open","locked":false,"assignee":{"login":"henri-tremblay","id":1216819,"avatar_url":"https://avatars.githubusercontent.com/u/1216819?v=3","gravatar_id":"","url":"https://api.github.com/users/henri-tremblay","html_url":"https://github.com/henri-tremblay","followers_url":"https://api.github.com/users/henri-tremblay/followers","following_url":"https://api.github.com/users/henri-tremblay/following{/other_user}","gists_url":"https://api.github.com/users/henri-tremblay/gists{/gist_id}","starred_url":"https://api.github.com/users/henri-tremblay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henri-tremblay/subscriptions","organizations_url":"https://api.github.com/users/henri-tremblay/orgs","repos_url":"https://api.github.com/users/henri-tremblay/repos","events_url":"https://api.github.com/users/henri-tremblay/events{/privacy}","received_events_url":"https://api.github.com/users/henri-tremblay/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/henri-tremblay/mytest/milestones/2","html_url":"https://github.com/henri-tremblay/mytest/milestones/2.4%20CE","labels_url":"https://api.github.com/repos/henri-tremblay/mytest/milestones/2/labels","id":1139051,"number":2,"title":"2.4 CE","description":"EasyMock CE 2.4","creator":{"login":"henri-tremblay","id":1216819,"avatar_url":"https://avatars.githubusercontent.com/u/1216819?v=3","gravatar_id":"","url":"https://api.github.com/users/henri-tremblay","html_url":"https://github.com/henri-tremblay","followers_url":"https://api.github.com/users/henri-tremblay/followers","following_url":"https://api.github.com/users/henri-tremblay/following{/other_user}","gists_url":"https://api.github.com/users/henri-tremblay/gists{/gist_id}","starred_url":"https://api.github.com/users/henri-tremblay/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/henri-tremblay/subscriptions","organizations_url":"https://api.github.com/users/henri-tremblay/orgs","repos_url":"https://api.github.com/users/henri-tremblay/repos","events_url":"https://api.github.com/users/henri-tremblay/events{/privacy}","received_events_url":"https://api.github.com/users/henri-tremblay/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":4,"state":"closed","created_at":"2015-05-29T01:57:42Z","updated_at":"2015-06-01T01:27:03Z","due_on":"2008-08-30T04:00:00Z","closed_at":"2015-05-29T01:57:42Z"},"comments":0,"created_at":"2015-06-01T01:27:03Z","updated_at":"2015-06-01T01:27:03Z","closed_at":null,"body":"*Migrated from:* CodeHaus issue EASYMOCK-14\n*Original reporter:* Henri Tremblay\n\n---------------------------------------------------------\nI have a mock of a class, where I have only mocked two methods.  I set my expectations - in this case that both of those methods are called - and run my test.  This works.\n\n\nI then started changing things to see the test break. I commented out one of the expectations, but my test still passes.  With a strict mock, this should not be the case; it should fail, as a method was called that the mock was not told to expect.\n\nThis is also the case with 2.3.\n"}}