Skip to content

NullConstraint

Charlie Poole edited this page Jan 31, 2016 · 5 revisions

NullConstraint tests that a value is null.

Constructor

```C# NullConstraint() ```

Syntax

```C# Is.Null ```

Examples of Use

```C# Assert.That( anObject, Is.Null ); Assert.That( anObject, Is.Not.Null ); ```
Clone this wiki locally