@Test
public void testWaitForResponses() throws InterruptedException {

    //GIVEN
    given(actualSequence.checkIfAllResponsesArrived(LOGGER_ID)).willReturn(false, false, false, true);
    //WHEN
    underTest.waitForResponses(stubbedRequest, actualSequence);
    //THEN
    verify(actualSequence, times(4)).checkIfAllResponsesArrived(LOGGER_ID);
}