How to handle multiple exception testing in nUnit 3 according to Arrange-Act-Assert paradigm?
问题 In nUnit 3, there's been considerable changes made, among which the ExpectedException has been dropped to be replaced by the assertion model. I've found this and this example but the recommendation is to use Assert.That() instead so I want to use this approach as shown below. //Arrange string data = "abcd"; //Act ActualValueDelegate<object> test = () => data.MethodCall(); //Assert Assert.That(test, Throws.TypeOf<ExceptionalException>()); However, I'd like to test the assert for a number of