Class RaisesAnyException
Exception thrown when Assert.RaisesAny fails.
public class RaisesAnyException : XunitException, ISerializable, IAssertionException
- Inheritance
-
RaisesAnyException
- Implements
- Inherited Members
Methods
ForNoEvent(Type)
Creates a new instance of the RaisesAnyException class to be thrown when no event was raised.
public static RaisesAnyException ForNoEvent(Type expected)
Parameters
expectedTypeThe type of the event args that was expected