Skip to content

StringAssertions.NotBeEmpty Method ​

Definition ​

Asserts that the string is not empty.

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

View source

Returns ​

AssertionsChain<StringAssertions, String>

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