In C#, I have a method which throws an exception when a certain condition is true. I am supposed to write a unit test method to verify that.
Since the method being tested doesn't return a boolean value, I can't use Microsoft.VisualStudio.TestTools.UnitTesting.Assert.IsTrue
method. Which assert method can I use? Thanks.