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