ICSharpCode.SharpUnit an Unit Testing Framework for .NET

Assertion.AssertNotNull Method (Object)

Asserts that an object isn't null.

public static void AssertNotNull(
   object o
);

Exceptions

Exception TypeCondition
AssertionFailedException thrown if o == null

See Also

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