DataCollectorAdvice { public void afterClusterManagerMethod(JoinPoint joinPoint, Long returnValue) { CollectOperationManager.storeOperationParameters((MethodInvocationProceedingJoinPoint)joinPoint, returnValue); }  void afterRestCallMethod(JoinPoint joinPoint); void afterClusterManagerMethod(JoinPoint joinPoint, Long returnValue);  }
@Test(groups = { "TestDataCollectorAdvice" }) public void testAfterClusterManagerMethod() { DataCollectorAdvice dataCollectorAdvice = new DataCollectorAdvice(); try { dataCollectorAdvice.afterClusterManagerMethod(joinPoint, 10L); } catch (Throwable throwable) { throwable.printStackTrace(); } new Verifications() {{ CollectOperationManager.storeOperationParameters((MethodInvocationProceedingJoinPoint)joinPoint, 10L); }}; }