{"action":"closed","issue":{"url":"https://api.github.com/repos/financialforcedev/fflib-apex-mocks/issues/9","repository_url":"https://api.github.com/repos/financialforcedev/fflib-apex-mocks","labels_url":"https://api.github.com/repos/financialforcedev/fflib-apex-mocks/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/financialforcedev/fflib-apex-mocks/issues/9/comments","events_url":"https://api.github.com/repos/financialforcedev/fflib-apex-mocks/issues/9/events","html_url":"https://github.com/financialforcedev/fflib-apex-mocks/issues/9","id":127557359,"number":9,"title":"Method not recorded for void method that throws exception","user":{"login":"jondavis9898","id":12914673,"avatar_url":"https://avatars.githubusercontent.com/u/12914673?v=3","gravatar_id":"","url":"https://api.github.com/users/jondavis9898","html_url":"https://github.com/jondavis9898","followers_url":"https://api.github.com/users/jondavis9898/followers","following_url":"https://api.github.com/users/jondavis9898/following{/other_user}","gists_url":"https://api.github.com/users/jondavis9898/gists{/gist_id}","starred_url":"https://api.github.com/users/jondavis9898/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jondavis9898/subscriptions","organizations_url":"https://api.github.com/users/jondavis9898/orgs","repos_url":"https://api.github.com/users/jondavis9898/repos","events_url":"https://api.github.com/users/jondavis9898/events{/privacy}","received_events_url":"https://api.github.com/users/jondavis9898/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/financialforcedev/fflib-apex-mocks/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":{"login":"frup42","id":14099047,"avatar_url":"https://avatars.githubusercontent.com/u/14099047?v=3","gravatar_id":"","url":"https://api.github.com/users/frup42","html_url":"https://github.com/frup42","followers_url":"https://api.github.com/users/frup42/followers","following_url":"https://api.github.com/users/frup42/following{/other_user}","gists_url":"https://api.github.com/users/frup42/gists{/gist_id}","starred_url":"https://api.github.com/users/frup42/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frup42/subscriptions","organizations_url":"https://api.github.com/users/frup42/orgs","repos_url":"https://api.github.com/users/frup42/repos","events_url":"https://api.github.com/users/frup42/events{/privacy}","received_events_url":"https://api.github.com/users/frup42/received_events","type":"User","site_admin":false},"milestone":null,"comments":3,"created_at":"2016-01-19T22:48:12Z","updated_at":"2016-03-08T22:41:34Z","closed_at":"2016-03-08T22:41:34Z","body":"When mocking a Void method that throws an exception, it appears that the method will not be recorded since the exception is thrown before recording the method call.\r\n\r\nShould line 214 move to line 207?\r\nhttps://github.com/financialforcedev/fflib-apex-mocks/blob/master/src/classes/fflib_ApexMocks.cls#L214"}}