DataCollectorAdvice { public void afterRestCallMethod(JoinPoint joinPoint) throws Throwable { CollectOperationManager.storeOperationParameters((MethodInvocationProceedingJoinPoint)joinPoint); logger.debug("save joinPoint " + joinPoint + " to CollectOperationjManager"); }  void afterRestCallMethod(JoinPoint joinPoint); void afterClusterManagerMethod(JoinPoint joinPoint, Long returnValue);  }
@Test(groups = { "TestDataCollectorAdvice" }) public void testAfterRestCallMethod() { DataCollectorAdvice dataCollectorAdvice = new DataCollectorAdvice(); try { dataCollectorAdvice.afterRestCallMethod(joinPoint); } catch (Throwable throwable) { throwable.printStackTrace(); } new Verifications() {{ CollectOperationManager.storeOperationParameters((MethodInvocationProceedingJoinPoint)joinPoint); }}; }