@Test public void tracingOnRepsositoryIsNotCalled() { assertThat(beanNameAspect.getCalled(), is(0)); simpleRepository.doSomething(); assertThat(beanNameAspect.getCalled(), is(0)); }
public int getCalled() { return called; }
BeanNameAspect { public int getCalled() { return called; } }
BeanNameAspect { public int getCalled() { return called; }  }
BeanNameAspect { public int getCalled() { return called; }  @Around("mypointcuts.MyPointcuts.beanNamePointcut()") void trace(ProceedingJoinPoint proceedingJP); void resetCalled(); int getCalled(); }
BeanNameAspect { public int getCalled() { return called; }  @Around("mypointcuts.MyPointcuts.beanNamePointcut()") void trace(ProceedingJoinPoint proceedingJP); void resetCalled(); int getCalled();  }