child.setSize(100, 100);
child.setLocation(0, 0);
panel.add(child);
panel.addVerticalScrollBar();
ScrollBarPanel vertical = panel.getVerticalScrollbar();
vertical.setSize(15, 100);
vertical.setLocation(85, 0);
panel.addHorizontalScrollBar();
ScrollBarPanel horizontal = panel.getHorizontalScrollbar();
horizontal.setSize(100, 15);
horizontal.setLocation(0, 85);
assertSame(child, panel.getOwnerOfPoint(new Point(0, 0)));
assertSame(child, panel.getOwnerOfPoint(new Point(50, 50)));
assertSame(vertical, panel.getOwnerOfPoint(new Point(90, 50)));
assertSame(horizontal, panel.getOwnerOfPoint(new Point(50, 90)));