@SuppressWarnings("unchecked")
@Test
public void testNotify() {

    SyncNotificationStrategy victim = new SyncNotificationStrategy();
    victim.notifyListener(null, event);
    EventListener<AbstractNotificationEvent> listener = mock(EventListener.class);
    victim.notifyListener(listener, event);
    verify(listener).onEvent(event);
}