Skip to content

StringAssertions.NotBeNullOrEmpty Method ​

Definition ​

Asserts that the string is not null or empty.

c#
public AssertionsChain<StringAssertions, string> NotBeNullOrEmpty();

View source

Returns ​

AssertionsChain<StringAssertions, String>

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