java – WebService Spring Unit Testing Client Inheriting Classes WebServiceGatewaySupport

I'm trying to test a web service client at Spring's startup. My client expands WebServiceGatewaySupport class and I use Mockito frame.

The problem is that I am unable to make fun of the super class method getWebServiceMethod

A quick search only explains the integration test using a spring, which is not what I need

in N / A, it was suggested to make fun of the whole base class, but that's not possible either, because the unit tests are in the same package and I do not want to make a mockery of either a spring class.

How can we perform these unit tests?