}
@Test
public void shouldGetOwnerOfPoint() throws Exception
{
Panel panel1 = new MockPanel();
Panel panel2 = new MockPanel();
panel1.setLocation(0, 0);
panel1.setSize(100, 100);
panel2.setLocation(100, 100);
panel2.setSize(100, 100);
panel.add(panel1);
panel.add(panel2);
assertSame(panel1, panel.getOwnerOfPoint(new Point(0, 0)));