Assert.assertNull

Asserts that an object is null. If it is not, an {@link AssertionError} is thrown with the given message.

@param message the identifying message for the {@link AssertionError} (<code>null</code> okay) @param object Object to check or <code>null</code>

  1. void assertNull(string message, T object)
    class Assert
    static
    void
    assertNull
    (
    T
    size_t line = __LINE__
    string file = __FILE__
    )
    (
    string message
    ,)
  2. void assertNull(T object)

Meta