@Test public void testEquals() { assertFalse(empty.equals(g1)); assertFalse(g1.equals(empty)); assertTrue(empty.equals(empty)); assertTrue(g1.equals(g1)); }
@Test public void testEqualsWrongObject() { assertFalse(empty.equals(new String(empty.toString()))); }