@Test
public void pressingMouse() throws Exception
{
assertEquals(0, root.dirtyRegions.size());
new MousePressedEvent(0, null, 0).dispatch(panel);
assertEquals(1, root.dirtyRegions.size());
assertEquals(panel.getBounds(), root.dirtyRegions.get(0));
}