JsCacheRemoveAllInterceptor implements Serializable { @AroundInvoke public Object processJsCacheRemove(InvocationContext ctx) throws Exception { jsCacheAnnotationServices.processJsCacheRemoveAll(); return ctx.proceed(); }  @AroundInvoke Object processJsCacheRemove(InvocationContext ctx);  }
@Test public void testProcessJsCacheRemove() throws Exception { System.out.println("processJsCacheRemove"); InvocationContext ctx = mock(InvocationContext.class); Object result = instance.processJsCacheRemove(ctx); verify(jsCacheAnnotationServices).processJsCacheRemoveAll(); verify(ctx).proceed(); }