}
@Test
public void shouldGetOwnerOfPointWithOverlappingFloaters() throws Exception
{
MockPanel child1 = new MockPanel();
child1.setLocation(0, 0);
child1.setSize(100, 100);
MockPanel floater1 = new MockPanel();
floater1.floater = true;
floater1.setLocation(10, 10);
floater1.setSize(50, 50);
MockPanel floater2 = new MockPanel();
floater2.floater = true;
floater2.setLocation(40, 40);
floater2.setSize(50, 50);
panel.add(child1);
panel.add(floater1);
panel.add(floater2);