@Test
public void ifEventIsNotSetThenItDoesNotGetInvokedEventIfQueueIsEmpty() {

    // Arrange
    ReplayingState replayingState = new ReplayingState(baseURI);
    SynchronizationEvent synchronizationEvent = mock(SynchronizationEvent.class);
    when(synchronizationEvent.getName()).thenReturn(NO_HTTP_REQUESTS_IN_QUEUE);
    // Act
    replayingState.signalizeIfNoHttpQueriesInQueue();
    // Assert
    verify(synchronizationEvent, never()).signalizeIsDone();
}