@Test
public void shouldSendEachInterceptorContextToTheNextInterceptorInTheQueue() throws Exception {

    final InterceptorContext interceptorContext_1 = mock(InterceptorContext.class);
    final InterceptorContext interceptorContext_2 = mock(InterceptorContext.class);
    final InterceptorContext interceptorContext_3 = mock(InterceptorContext.class);
    final Stream<InterceptorContext> interceptorContexts = Stream.of(
            interceptorContext_1,
            interceptorContext_2,
            interceptorContext_3);
    final List<InterceptorContext> results = interceptorChain.processNext(interceptorContexts);
    assertThat(results.size(), is(3));
    assertThat(results, hasItems(
            interceptorContext_1,
            interceptorContext_2,
            interceptorContext_3));
}