Object playerObj = player.cast(prop);
assertEquals("SamplePlayer", playerObj.getClass().getName());
assertEquals(1, prop.getEventHandler().getActions(MouseClickedEvent.class).size());
new MouseClickedEvent(0, null, 1).dispatch(prop);
assertEquals(1, samplePlayerClass.getField("invocations").get(lastSamplePlayer()));
}