private Panel dispatchedRecipient;
@Test
public void theRecipientIsSetOnlyDuringDispatchAndThenRestored() throws Exception
{
TestablePanelBase recipient = new TestablePanelBase();
recipient.getEventHandler().add(TestableEvent.class, new EventAction(){
public void invoke(Event event)
{
dispatchedRecipient = ((PanelEvent)event).getRecipient();
}
});