public static <T> T assertSame(T exp, T was, String message) {
        assertNotNull(exp, message);
        assertNotNull(was, message);
        assertTrue(exp == was, message);
        return was;
    }
public static < T > T assertSame ( T exp , T was , String message ) { assertNotNull ( exp , message ) ; assertNotNull ( was , message ) ; assertTrue ( exp == was , message ) ; return was ; }
Throws an IllegalStateException when the given values are not equal.