I have a situation when I want to mock a method to throw an exception,
but I want to construct that exception manually based on arguments given
to the method similar to doAnswer.
Does Mockito have anything like this currently? And if not - would I be
crazy to ask for such a thing, or should I try and rework my tests?
Mark
Cheers,
David.
Hey all,
Mark
--
You received this message because you are subscribed to the Google Groups
"mockito" group.
To post to this group, send email to moc...@googlegroups.com.
To unsubscribe from this group, send email to
mockito+u...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/mockito?hl=en.
+1