/**
* Test <code>equals()</code> method.
*/
public void testEquals() {
assertEquals(new Insets(1), new Insets(1));
assertEquals(new Insets(1, 2), new Insets(1, 2));
assertEquals(new Insets(1, 2, 3, 4), new Insets(1, 2, 3, 4));
assertEquals(new Insets(null, null, null, null), new Insets(null, null, null, null));
assertFalse(new Insets(1, 2, 3, 4).equals(new Insets(1, 2, 3, 5)));
assertFalse(new Insets(1, 2, 3, 4).equals(new Insets(1, 2, 5, 4)));
assertFalse(new Insets(1, 2, 3, 4).equals(new Insets(1, 5, 3, 4)));
assertFalse(new Insets(1, 2, 3, 4).equals(new Insets(5, 2, 3, 4)));
assertTrue(new Insets(PX_1, PX_2, PX_3, PX_4).equals(new Insets(PX_1, PX_2, PX_3, PX_4)));
assertFalse(new Insets(PX_1, PX_2, PX_3, PX_4).equals(new Insets(null, PX_2, PX_3, PX_4)));
assertFalse(new Insets(PX_1, PX_2, PX_3, PX_4).equals(new Insets(PX_1, null, PX_3, PX_4)));
assertFalse(new Insets(PX_1, PX_2, PX_3, PX_4).equals(new Insets(PX_1, PX_2, null, PX_4)));
assertFalse(new Insets(PX_1, PX_2, PX_3, PX_4).equals(new Insets(PX_1, PX_2, PX_3, null)));
assertFalse(new Insets(null, PX_2, PX_3, PX_4).equals(new Insets(PX_1, PX_2, PX_3, PX_4)));
assertFalse(new Insets(PX_1, null, PX_3, PX_4).equals(new Insets(PX_1, PX_2, PX_3, PX_4)));
assertFalse(new Insets(PX_1, PX_2, null, PX_4).equals(new Insets(PX_1, PX_2, PX_3, PX_4)));
assertFalse(new Insets(PX_1, PX_2, PX_3, null).equals(new Insets(PX_1, PX_2, PX_3, PX_4)));
}