@Test(expected = IllegalStateException.class) public void testThrowsOnMultipleNonNullArguments() { control.replay(); Function<Object[], Optional<JobKey>> func = interceptor.getAuthorizingParamGetters().getUnchecked(Params.class.getMethods()[0]); func.apply(new Object[]{new JobConfiguration(), new JobKey(), null}); }
@VisibleForTesting LoadingCache<Method, Function<Object[], Optional<JobKey>>> getAuthorizingParamGetters() { return authorizingParamGetters; }
ShiroAuthorizingParamInterceptor implements MethodInterceptor { @VisibleForTesting LoadingCache<Method, Function<Object[], Optional<JobKey>>> getAuthorizingParamGetters() { return authorizingParamGetters; } }
ShiroAuthorizingParamInterceptor implements MethodInterceptor { @VisibleForTesting LoadingCache<Method, Function<Object[], Optional<JobKey>>> getAuthorizingParamGetters() { return authorizingParamGetters; }  }
ShiroAuthorizingParamInterceptor implements MethodInterceptor { @VisibleForTesting LoadingCache<Method, Function<Object[], Optional<JobKey>>> getAuthorizingParamGetters() { return authorizingParamGetters; }  @Override Object invoke(MethodInvocation invocation); }
ShiroAuthorizingParamInterceptor implements MethodInterceptor { @VisibleForTesting LoadingCache<Method, Function<Object[], Optional<JobKey>>> getAuthorizingParamGetters() { return authorizingParamGetters; }  @Override Object invoke(MethodInvocation invocation);  }