@Test
public void shouldProvideInterceptorContext() {

    final DefaultInterceptorContextProvider provider = new DefaultInterceptorContextProvider();
    final JsonEnvelope jsonEnvelope = new DefaultJsonEnvelopeProvider().envelopeFrom(metadata, payload);
    InterceptorContext interceptorContext = provider.interceptorContextWithInput(jsonEnvelope);
    assertThat(interceptorContext, instanceOf(DefaultInterceptorContext.class));
}