@Test
public void ifSignalizationEventIsNotFoundThenItIsNotLocked() {

    SynchronizationEvent synchronizationEvent = mock(SynchronizationEvent.class);
    when(synchronizationEvent.isSatisfied()).thenReturn(false);
    Lock lock = mock(Lock.class);
    SignalizationBasedEventSynchronizer signalizationBasedEventSynchronizer = new SignalizationBasedEventSynchronizer(timeout, lock);
    signalizationBasedEventSynchronizer.signalizeEvent(synchronizationEvent);
    verify(lock).unlock();
}