NUnit.Framework.Assert.NotNull Method
Verifies that the object that is passed in is not equal to

Example

null
If the object is

Example

null
then an NUnit.Framework.AssertionException is thrown.

Syntax

public static void NotNull (object anObject, string message)

Parameters

anObject
The object that is to be tested
message
The message to be displayed when the object is null

Remarks

Documentation for this section has not yet been entered.

Requirements

Namespace: NUnit.Framework
Assembly: NUnitLite (in NUnitLite.dll)
Assembly Versions: 0.6.0.0, 1.0.0.0