Assert.assertNotSame

Asserts that two objects do not refer to the same object. If they do refer to the same object, an {@link AssertionError} is thrown with the given message.

@param message the identifying message for the {@link AssertionError} (<code>null</code> okay) @param unexpected the object you don't expect @param actual the object to compare to <code>unexpected</code>

  1. void assertNotSame(string message, T unexpected, T actual)
    class Assert
    static
    void
    assertNotSame
    (
    T
    size_t line = __LINE__
    string file = __FILE__
    )
  2. void assertNotSame(T unexpected, T actual)

Meta