You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, when you write expectations you've got to deal with the fact that the signatures could throw. This means that your test methods need to indicate all of these exceptions even if they will never happen.
Currently, when you write expectations you've got to deal with the fact that the signatures could throw. This means that your test methods need to indicate all of these exceptions even if they will never happen.
Java 8 Lambdas could ease this. For example:
You could even extend this to do a Replay at the end of the lambda for all the mocks that were configured in it.
The text was updated successfully, but these errors were encountered: