### Question:
InterceptorUtils { public static Interceptor constant(Object value) { return new ObjectProviderInterceptor(ObjectProviderUtils.constant(value)); } private  InterceptorUtils(); static Interceptor constant(Object value); static Interceptor provider(ObjectProvider<?> provider); static Interceptor throwing(Exception e); static Interceptor throwing(ObjectProvider<? extends Exception> provider); static Interceptor invoking(Invoker invoker);  }### Answer:
@Test public void testConstant() throws Throwable { Interceptor interceptor = InterceptorUtils.constant("Hello!"); Invocation invocation = mockInvocation(Echo.class, "echoBack", String.class).withArguments("World!").build(); assertEquals("Hello!", interceptor.intercept(invocation)); }