ObjectAssertions<T>.NotBeOfType Method
Definition
Asserts that the value is not assignable to the specified type.
public ObjectAssertionsChain<T> NotBeOfType<TOther>();
Type Parameters
| Name | Description |
|---|---|
| TOther | The type that is not expected. |
Returns
An ObjectAssertionsChain<T> for chaining further assertions.