Assert.assertSame

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

@param message the identifying message for the {@link AssertionError} (<code>null</code> okay) @param expected the expected object @param actual the object to compare to <code>expected</code>

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

Meta