}
public void testMethod2(TestHarness harness)
{
harness.checkPoint("(int)");
JScrollBar sb = new JScrollBar();
InputMap m1 = sb.getInputMap(JComponent.WHEN_FOCUSED);
harness.check(m1.keys(), null);
InputMap m1p = m1.getParent();
harness.check(m1p, null);
InputMap m2 = sb.getInputMap(JComponent.WHEN_ANCESTOR_OF_FOCUSED_COMPONENT);
harness.check(m2.keys(), null);
InputMap m2p = m2.getParent();
harness.check(m2p.get(KeyStroke.getKeyStroke("pressed PAGE_UP")), "negativeBlockIncrement");
harness.check(m2p.get(KeyStroke.getKeyStroke("pressed PAGE_DOWN")), "positiveBlockIncrement");
harness.check(m2p.get(KeyStroke.getKeyStroke("pressed END")), "maxScroll");
harness.check(m2p.get(KeyStroke.getKeyStroke("pressed HOME")), "minScroll");
harness.check(m2p.get(KeyStroke.getKeyStroke("pressed LEFT")), "negativeUnitIncrement");
harness.check(m2p.get(KeyStroke.getKeyStroke("pressed KP_UP")), "negativeUnitIncrement");
harness.check(m2p.get(KeyStroke.getKeyStroke("pressed KP_DOWN")), "positiveUnitIncrement");
harness.check(m2p.get(KeyStroke.getKeyStroke("pressed UP")), "negativeUnitIncrement");
harness.check(m2p.get(KeyStroke.getKeyStroke("pressed RIGHT")), "positiveUnitIncrement");
harness.check(m2p.get(KeyStroke.getKeyStroke("pressed KP_LEFT")), "negativeUnitIncrement");
harness.check(m2p.get(KeyStroke.getKeyStroke("pressed DOWN")), "positiveUnitIncrement");
harness.check(m2p.get(KeyStroke.getKeyStroke("pressed KP_RIGHT")), "positiveUnitIncrement");
InputMap m3 = sb.getInputMap(JComponent.WHEN_IN_FOCUSED_WINDOW);
harness.check(m3.keys(), null);
harness.check(m3.getParent(), null);
}