Skip to content

EmptyConstraint

jnm2 edited this page Jun 14, 2017 · 8 revisions

EmptyConstraint tests that an object is an empty string, directory or collection.

Constructor

EmptyConstraint()

Syntax

Is.Empty

Examples of Use

Assert.That( aString, Is.Empty );
Assert.That( dirInfo, Is.Empty );
Assert.That( collection, Is.Empty );

Notes:

Clone this wiki locally