We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
#IsNull
Matches if null:
[Test] public void IsNull() { var isNull = new IsNull(); var anObject = null; Assert.That(anObject, isNull); // or alternatively Assert.That(anObject, Is.Null()); Assert.That("aString", Is.NotNull()); }