I working with MOQ framework for my testing. I have a scenario in which I expect a fault exception to be thrown. How can I verify it was thrown?
public void
Ok so I solved it in the following way.
Since the exception broke my test I put the method call in the Because block in try-catch.
Then I could use a simple Verify.
Thanks to all helpers...