public void shouldHoverOffWithHoverStyle() throws Exception
{
prop.hoverStyle = new FlatStyle();
new MouseEnteredEvent(0, null, 0).dispatch(panel);
new MouseExitedEvent(0, null, 0).dispatch(panel);
assertEquals(Cursor.DEFAULT_CURSOR, root.getCursor().getType());
assertEquals(null, style.getScreen());
}