@Test
public void shouldInvokeInterceptorsMethodIfAbleToInstantiateIt() throws InterceptionException, IOException {

final Object instance = new Object();

when(container.instanceFor(Interceptor.class)).thenReturn(interceptor);
when(interceptor.accepts(method)).thenReturn(true);
ToInstantiateInterceptorHandler handler = new ToInstantiateInterceptorHandler(container, Interceptor.class);
handler.execute(stack, method, instance);
verify(interceptor).intercept(stack, method, instance);
}