ExecutionTimeAspectUnitTest
Failed tests
whenExecuteJoinPoint_thenLoggerInfoIsCalled()
Wanted but not invoked:
joinPoint.proceed();
-> at org.zheng.demo.spring_aop_example.ExecutionTimeAspectUnitTest.whenExecuteJoinPoint_thenLoggerInfoIsCalled(ExecutionTimeAspectUnitTest.java:28)
Actually, there were zero interactions with this mock.
at app//org.zheng.demo.spring_aop_example.ExecutionTimeAspectUnitTest.whenExecuteJoinPoint_thenLoggerInfoIsCalled(ExecutionTimeAspectUnitTest.java:28)
at java.base@17.0.11/java.lang.reflect.Method.invoke(Method.java:568)
at java.base@17.0.11/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base@17.0.11/java.util.ArrayList.forEach(ArrayList.java:1511)
Tests
Test |
Duration |
Result |
whenExecuteJoinPoint_thenLoggerInfoIsCalled() |
1.301s |
failed |
Standard output
Before advice is executed