assertFalse(opt1.equals(new Integer(1)));
assertFalse(opt1.equals(new DHCPOption(DHO_BOOTFILE, buf0)));
}
@Test
public void testEqualsMirror() {
DHCPOption opt1 = new DHCPOption(DHO_BOOTFILE, null);
DHCPOption opt2 = new DHCPOption(DHO_BOOTFILE, null, false);
DHCPOption opt3 = new DHCPOption(DHO_BOOTFILE, null, true);
DHCPOption opt4 = new DHCPOption(DHO_BOOTFILE, null, true);
assertTrue(opt1.equals(opt1));
assertTrue(opt1.equals(opt2));
assertTrue(opt2.equals(opt1));
assertTrue(opt3.equals(opt3));
assertTrue(opt3.equals(opt4));
assertTrue(opt4.equals(opt3));
assertFalse(opt1.equals(opt3));
assertFalse(opt3.equals(opt1));
}