Asserts that the values are the same.
AssertException otherwise
1 Object foo = new Object(); 2 Object bar = new Object(); 3 4 assertSame(foo, foo); 5 6 auto exception = expectThrows!AssertException(assertSame(foo, bar)); 7 8 assertEquals("expected same: <object.Object> was not: <object.Object>", exception.msg);
See Implementation
Asserts that the values are the same.