Assert.assertNotNull

Asserts that an object isn't null. If it is an {@link AssertionError} is thrown.

@param object Object to check or <code>null</code>

  1. void assertNotNull(string message, T object)
  2. void assertNotNull(T object)
    class Assert
    static
    void
    assertNotNull
    (
    T
    )
    ()

Meta