@Test
public void setsConditionAndDelegatesSignalizationIfNeededToReplayingState() {

    String event = "event";
    ReplayingState replayingState = mock(ReplayingState.class);
    SignalizingStateConditionsUpdater signalizingStateConditionsUpdater = new SignalizingStateConditionsUpdater();
    signalizingStateConditionsUpdater.update(replayingState, event);
    verify(replayingState).setConditionSatisfied(event);
    verify(replayingState).signalizeIfSynchronizationEventIsSatisfied();
}