}
@Test
public void testGetServiceClientAsInterface() {
String endpointServer = "http://google.com";
MockSoapClientInterface soapClient = new MockSoapClient();
when(adsServiceClientFactory.getServiceClient(adsSession, MockSoapClientInterface.class))
.thenReturn(soapClient);
MockSoapClientInterface testSoapClient =
baseAdsServiceClientFactory.getServiceClientAsInterface(adsSession,
MockSoapClientInterface.class);
assertSame(soapClient, testSoapClient);
}