.equals(new FillImageBorder(Color.RED, new Insets(10), new Insets(20))));
assertFalse(new FillImageBorder(Color.RED, new Insets(10), new Insets(10))
.equals(new FillImageBorder(Color.RED, new Insets(10), new Insets(20))));
FillImageBorder fib1 = new FillImageBorder();
fib1.setFillImage(FillImageBorder.TOP_LEFT, new FillImage(new ResourceImageReference("topleft.gif")));
fib1.setFillImage(FillImageBorder.TOP, new FillImage(new ResourceImageReference("top.gif")));
fib1.setFillImage(FillImageBorder.TOP_RIGHT, new FillImage(new ResourceImageReference("topright.gif")));
fib1.setFillImage(FillImageBorder.LEFT, new FillImage(new ResourceImageReference("left.gif")));
fib1.setFillImage(FillImageBorder.RIGHT, new FillImage(new ResourceImageReference("right.gif")));
fib1.setFillImage(FillImageBorder.BOTTOM_LEFT, new FillImage(new ResourceImageReference("bottomleft.gif")));
fib1.setFillImage(FillImageBorder.BOTTOM, new FillImage(new ResourceImageReference("bottom.gif")));
fib1.setFillImage(FillImageBorder.BOTTOM_RIGHT, new FillImage(new ResourceImageReference("bottomright.gif")));
FillImageBorder fib2 = new FillImageBorder();
fib2.setFillImage(FillImageBorder.TOP_LEFT, new FillImage(new ResourceImageReference("topleft.gif")));
fib2.setFillImage(FillImageBorder.TOP, new FillImage(new ResourceImageReference("top.gif")));
fib2.setFillImage(FillImageBorder.TOP_RIGHT, new FillImage(new ResourceImageReference("topright.gif")));
fib2.setFillImage(FillImageBorder.LEFT, new FillImage(new ResourceImageReference("left.gif")));
fib2.setFillImage(FillImageBorder.RIGHT, new FillImage(new ResourceImageReference("right.gif")));
fib2.setFillImage(FillImageBorder.BOTTOM_LEFT, new FillImage(new ResourceImageReference("bottomleft.gif")));
fib2.setFillImage(FillImageBorder.BOTTOM, new FillImage(new ResourceImageReference("bottom.gif")));
fib2.setFillImage(FillImageBorder.BOTTOM_RIGHT, new FillImage(new ResourceImageReference("bottomright2.gif")));
assertFalse(fib1.equals(fib2));
fib2.setFillImage(FillImageBorder.BOTTOM_RIGHT, new FillImage(new ResourceImageReference("bottomright.gif")));
assertTrue(fib1.equals(fib2));
fib1.setBorderInsets(new Insets(20));
assertFalse(fib1.equals(fib2));
fib2.setBorderInsets(new Insets(20));