Skip to content

EmptyConstraint

CharliePoole edited this page Feb 14, 2016 · 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