@Test public void beforeIsCalledIfCorrectMethodIsCalled() { assertFalse(beforeAspect.isBeforeCalled()); simpleService.doSomething(); assertTrue(beforeAspect.isBeforeCalled()); }
boolean isBeforeCalled() { return beforeCalled; }
BeforeAdvice { boolean isBeforeCalled() { return beforeCalled; } }
BeforeAdvice { boolean isBeforeCalled() { return beforeCalled; }  }
BeforeAdvice { boolean isBeforeCalled() { return beforeCalled; }  void reset(); @Before("execution(void doSomething())") void entering(JoinPoint joinPoint); }
BeforeAdvice { boolean isBeforeCalled() { return beforeCalled; }  void reset(); @Before("execution(void doSomething())") void entering(JoinPoint joinPoint);  }