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