ICSharpCode.SharpUnit an Unit Testing Framework for .NET

Assertion.AssertNull Method (Object)

Asserts that an object is null.

public static void AssertNull(
   object o
);

Exceptions

Exception TypeCondition
AssertionFailedException thrown if o != null

See Also

Assertion Class | Assertion Members | ICSharpCode.SharpUnit Namespace | Assertion.AssertNull Overload List