Closed jondavis9898 closed 8 years ago
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.
Should line 214 move to line 207? https://github.com/financialforcedev/fflib-apex-mocks/blob/master/src/classes/fflib_ApexMocks.cls#L214
@frup42 thoughts?
It certainly should https://github.com/financialforcedev/fflib-apex-mocks/pull/12
Thank you!
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.
Should line 214 move to line 207? https://github.com/financialforcedev/fflib-apex-mocks/blob/master/src/classes/fflib_ApexMocks.cls#L214