Assert.assertSame

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

@param expected the expected object @param actual the object to compare to <code>expected</code>

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

Meta