{
public void test(TestHarness harness)
{
CardLayout layout = new CardLayout();
harness.check(layout.maximumLayoutSize(null),
new Dimension(Integer.MAX_VALUE, Integer.MAX_VALUE));
Frame frame = new Frame();
harness.check(frame.getComponentCount(), 0);
harness.check(layout.maximumLayoutSize(frame),