Method ForNoEvent
- Namespace
- Xunit.Sdk
- Assembly
- xunit.v3.assert.dll
ForNoEvent()
Creates a new instance of the RaisesException class to be thrown when no event (without data) was raised.
public static RaisesException ForNoEvent()
Returns
ForNoEvent(Type)
Creates a new instance of the RaisesException class to be thrown when no event (with data) was raised.
public static RaisesException ForNoEvent(Type expected)
Parameters
expectedTypeThe type of the event args that was expected