Assert.assertNotNull

Asserts that an object isn't null. If it is 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 assertNotNull(string message, T object)
    class Assert
    static
    void
    assertNotNull
    (
    T
    )
    (
    string message
    ,)
  2. void assertNotNull(T object)

Meta