proxyTargetAware

abstract fun proxyTargetAware(): Boolean

Indicates that Mockito methods such as verify(mock) should use the target of AOP advised beans, rather than the proxy itself. If set to false you may need to use the result of AopTestUtils.getUltimateTargetObject(...) when calling Mockito methods.

Return

true if the target of AOP advised beans is used or false ifthe proxy is used directly