{"action":"opened","issue":{"url":"https://api.github.com/repos/petergtz/pegomock/issues/2","repository_url":"https://api.github.com/repos/petergtz/pegomock","labels_url":"https://api.github.com/repos/petergtz/pegomock/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/petergtz/pegomock/issues/2/comments","events_url":"https://api.github.com/repos/petergtz/pegomock/issues/2/events","html_url":"https://github.com/petergtz/pegomock/issues/2","id":155091082,"number":2,"title":"Allow callbacks when stubbing","user":{"login":"petergtz","id":3618401,"avatar_url":"https://avatars.githubusercontent.com/u/3618401?v=3","gravatar_id":"","url":"https://api.github.com/users/petergtz","html_url":"https://github.com/petergtz","followers_url":"https://api.github.com/users/petergtz/followers","following_url":"https://api.github.com/users/petergtz/following{/other_user}","gists_url":"https://api.github.com/users/petergtz/gists{/gist_id}","starred_url":"https://api.github.com/users/petergtz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/petergtz/subscriptions","organizations_url":"https://api.github.com/users/petergtz/orgs","repos_url":"https://api.github.com/users/petergtz/repos","events_url":"https://api.github.com/users/petergtz/events{/privacy}","received_events_url":"https://api.github.com/users/petergtz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/petergtz/pegomock/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-05-16T18:32:36Z","updated_at":"2016-05-16T18:32:36Z","closed_at":null,"body":"_From @petergtz on January 2, 2016 8:4_\n\nInstead of storing returnValues in stubbing, we can store funcs. That enables panicking from a stub too.\n\n_Copied from original issue: petergtz/pegomock.orig#2_"}}