Method ForNoEvent
- Namespace
- Xunit.Sdk
- Assembly
- xunit.v3.assert.dll
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