Asserts that the values are not the same.
AssertException otherwise
Object foo = new Object(); Object bar = new Object(); assertNotSame(foo, bar); auto exception = expectThrows!AssertException(assertNotSame(foo, foo)); assertEquals("expected not same", exception.msg);
See Implementation
Asserts that the values are not the same.