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