### Question:
AdsServiceClient extends SoapServiceClient<Object> { @Override protected void setHeaders() throws ServiceException, AuthenticationException { getSoapClientHandler().clearHeaders(getSoapClient()); headerHandler.setHeaders(getSoapClient(), adsSession, adsServiceDescriptor); } AdsServiceClient(Object soapClient, S adsSession, D adsServiceDescriptor,
      SoapClientHandlerInterface<Object> soapClientHandler, HeaderHandler<S, D> headerHandler,
      AdsServiceLoggers adsServiceLoggers); S getAdsSession(); D getAdsServiceDescriptor(); void setAdsSession(S session);  }### Answer:
@Test public void testSetHeaders() throws Exception { adsServiceClient.setHeaders(); verify(soapClientHandler).clearHeaders(soapClient); verify(headerHandler).setHeaders(soapClient, adsSession, adsServiceDescriptor); }