If you want to test if an exception is thrown, you can do this easily with the .NET-Framework as follows:




c#: test if an exception is thrown in unit test
Tagged on:     

Leave a Reply


Get every new post on this blog delivered to your Inbox.

Join other followers:

Welcome Damir Kusar

Log in

Lost your password?
%d bloggers like this: