}
catch (UnsupportedLookAndFeelException e)
{
e.printStackTrace();
}
MenuBarBorder b = new MenuBarBorder();
Insets insets = b.getBorderInsets(null, new Insets(1, 2, 3, 4));
harness.check(insets, new Insets(1, 0, 1, 0));
boolean pass = false;
try
{
b.getBorderInsets(null, null);
}
catch (NullPointerException e)
{
pass = true;
}