Skip to content

StringAssertions.NotBeNullOrWhiteSpace Method

Definition

Asserts that the string is not null, empty, or consisting only of white-space characters.

public StringAssertionsChain NotBeNullOrWhiteSpace();

Returns

StringAssertionsChain

A StringAssertionsChain for chaining further assertions.