Skip to content

ObjectAssertions<TSelf, T>.NotBeNull Method ​

Definition ​

Asserts that the value is not null.

c#
public AssertionsChain<TSelf, T> NotBeNull();

View source

Returns ​

AssertionsChain<TSelf, T>

An AssertionsChain<TAssertions, T> for chaining further assertions.