Table of Contents

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

expected Type

The type of the event args that was expected

Returns