### Question:
StaticLocationServiceConfiguration { public void setConfigurationLoaderClassName(String configurationLoaderClassName) throws ClassNotFoundException { Class<?> configurationLoaderClass = Class.forName(configurationLoaderClassName); Preconditions.checkArgument(ServiceProviderConfigurationLoader.class.isAssignableFrom(configurationLoaderClass), "The class must implement " + ServiceProviderConfigurationLoader.class.getCanonicalName()); this.configurationLoaderClassName = configurationLoaderClassName; } StaticLocationServiceConfiguration();  StaticLocationServiceConfiguration(final StaticLocationServiceConfiguration other); static StaticLocationServiceConfiguration from(Configuration config); String getServiceProviderBase(); void setServiceProviderBase(final String serviceProviderBase); String getConfigurationLoaderClassName(); void setConfigurationLoaderClassName(String configurationLoaderClassName); @Override int hashCode(); @Override boolean equals(Object obj); @Override String toString(); static final String SERVICE_PROVIDER_LIST; static final String SERVICE_PROVIDER_LIST_SEPARATOR; static final String SERVICE_PROVIDER_BASE; static final String SERVICE_PROVIDER_BASE_DEFAULT; static final String CONFIGURATION_LOADER_CLASS; }### Answer:
@Test(expected = ClassNotFoundException.class) public void testConfigurationLoaderClassName1() throws ClassNotFoundException { new StaticLocationServiceConfiguration().setConfigurationLoaderClassName("not-a-class"); }
@Test(expected = IllegalArgumentException.class) public void testConfigurationLoaderClassName2() throws ClassNotFoundException { new StaticLocationServiceConfiguration().setConfigurationLoaderClassName("java.lang.String"); }