@Test public void afterAspectIsCalledIfMethodReturnsSuccessfully() { assertFalse(afterAdvice.isAfterCalled()); simpleService.doSomething(); assertTrue(afterAdvice.isAfterCalled()); }
public boolean isAfterCalled() { return afterCalled; }
AfterAdvice { public boolean isAfterCalled() { return afterCalled; } }
AfterAdvice { public boolean isAfterCalled() { return afterCalled; }  }
AfterAdvice { public boolean isAfterCalled() { return afterCalled; }  void reset(); boolean isAfterCalled(); @After("execution(* *(..))") void exiting(JoinPoint joinPoint); }
AfterAdvice { public boolean isAfterCalled() { return afterCalled; }  void reset(); boolean isAfterCalled(); @After("execution(* *(..))") void exiting(JoinPoint joinPoint);  }