ParametersInstantiatorInterceptor implements Interceptor { public boolean accepts(ResourceMethod method) { return method.getMethod().getParameterTypes().length > 0; } ParametersInstantiatorInterceptor(ParametersProvider provider, ParameterNameProvider parameterNameProvider, MethodInfo parameters,
		Validator validator, Localization localization, MutableRequest request, FlashScope flash); boolean accepts(ResourceMethod method); void intercept(InterceptorStack stack, ResourceMethod method, Object resourceInstance);  }
@Test public void shouldAcceptIfMethodHasParameters() { assertTrue(instantiator.accepts(otherMethod)); }
@Test public void shouldNotAcceptIfMethodHasNoParameters() { assertFalse(instantiator.accepts(method)); }