@Test(expectedExceptions = ResponseTimeoutException.class)
public void testWhenResponsesCannotArriveInTimeThenExceptionIsThrown() throws InterruptedException {

    //GIVEN
    given(actualSequence.checkIfAllResponsesArrived(LOGGER_ID)).willReturn(false);
    //WHEN
    underTest.waitForResponses(stubbedRequest, actualSequence);
    //THEN exception is thrown
}