}
public void test2(TestHarness harness)
{
harness.checkPoint("getBorderInsets(Component, Insets)");
PaletteBorder b = new PaletteBorder();
Insets insets = b.getBorderInsets(null, new Insets(1, 2, 3, 4));
harness.check(insets, new Insets(1, 1, 1, 1));
boolean pass = false;
try
{
b.getBorderInsets(new JButton("Test"), null);
}
catch (NullPointerException e)
{
pass = true;
}