### Question:
ClassNameAspect { public int getCalled() { return called; }  @Around("execution(* *..*Service.*(..))") void trace(ProceedingJoinPoint proceedingJP); void resetCalled(); int getCalled();  }### Answer:
@Test public void tracingOnServiceIsCalled() { assertThat(aroundTracingAspect.getCalled(), is(0)); simpleService.doSomething(); assertThat(aroundTracingAspect.getCalled(), is(1)); }
@Test public void tracingOnRepsositoryIsNotCalled() { assertThat(aroundTracingAspect.getCalled(), is(0)); simpleRepository.doSomething(); assertThat(aroundTracingAspect.getCalled(), is(0)); }