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