Assert.assertNotSame

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

@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)
  2. void assertNotSame(T unexpected, T actual)
    class Assert
    static
    void
    assertNotSame
    (
    T
    size_t line = __LINE__
    string file = __FILE__
    )

Meta