when(view.getSaveHandler()).thenReturn(null);
handler.onClick(event); // just make sure it doesn't blow up
ArgumentCaptor<UnifiedEvent> captor = ArgumentCaptor.forClass(UnifiedEvent.class);
ViewEventHandler saveEventHandler = mock(ViewEventHandler.class);
when(view.getSaveHandler()).thenReturn(saveEventHandler);
handler.onClick(event);
verify(saveEventHandler).handleEvent(captor.capture());
assertEquals(UnifiedEventType.CLICK_EVENT, captor.getValue().getEventType());
assertSame(event, captor.getValue().getClickEvent());