Skip to content

EmptyConstraint

jnm2 edited this page Mar 18, 2017 · 8 revisions

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

Constructor

```C# EmptyConstraint() ```

Syntax

```C# Is.Empty ```

Examples of Use

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

Notes:

Clone this wiki locally