### Question:
AmazonWebServiceClient { public final void setServiceNameIntern(String serviceName) { if (serviceName == null) throw new IllegalArgumentException( "The parameter serviceName must be specified!"); this.serviceName = serviceName; } AmazonWebServiceClient(ClientConfiguration clientConfiguration);  AmazonWebServiceClient(ClientConfiguration clientConfiguration,
            RequestMetricCollector requestMetricCollector); @SdkProtectedApi protected  AmazonWebServiceClient(ClientConfiguration clientConfiguration,
                                     RequestMetricCollector requestMetricCollector,
                                     boolean disableStrictHostNameVerification); protected  AmazonWebServiceClient(AwsSyncClientParams clientParams); @Deprecated void setEndpoint(String endpoint); Signer getSignerByURI(URI uri); @Deprecated void setRegion(Region region); @Deprecated final void configureRegion(Regions region); void shutdown(); @Deprecated void addRequestHandler(RequestHandler requestHandler); @Deprecated void addRequestHandler(RequestHandler2 requestHandler2); @Deprecated void removeRequestHandler(RequestHandler requestHandler); @Deprecated void removeRequestHandler(RequestHandler2 requestHandler2); void setTimeOffset(int timeOffset); AmazonWebServiceClient withTimeOffset(int timeOffset); int getTimeOffset(); RequestMetricCollector getRequestMetricsCollector(); String getServiceName(); String getEndpointPrefix(); final void setServiceNameIntern(String serviceName); final String getSignerRegionOverride(); final void setSignerRegionOverride(String signerRegionOverride); @Deprecated T withRegion(Region region); @Deprecated T withRegion(Regions region); @Deprecated T withEndpoint(String endpoint); @Deprecated @SdkInternalApi final void makeImmutable(); String getSignerOverride(); ClientConfiguration getClientConfiguration(); @Deprecated
    static final boolean LOGGING_AWS_REQUEST_METRIC; }### Answer:
@Test public void setServiceNameIntern() { AmazonTestClient client = new AmazonTestClient(); assertEquals(client.getServiceName(), client.getServiceNameIntern()); String serviceNameOverride = "foo"; assertFalse(serviceNameOverride.equals(client.getServiceName())); client.setServiceNameIntern(serviceNameOverride); assertEquals(serviceNameOverride, client.getServiceName()); }