Skip to content

NullConstraint

jnm2 edited this page Jun 14, 2017 · 5 revisions

NullConstraint tests that a value is null.

Constructor

    NullConstraint()

Syntax

    Is.Null

Examples of Use

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