Closed
Description
I'm using spring-boot 1.5.7.RELEASE and I'm having trouble when I have a mocked WebServiceGatewaySupport
which has @retryable annotations in the subclass of that class. When I call Mockito.verify() I get an UnfinishedVerificationException exception.
I find a workaround like #6828 and #5837
if (client instanceof Advised) {
client = (MySubClassOfWebServiceGatewaySupport) ((Advised) client).getTargetSource().getTarget();
}