### Question:
StaticLocationServiceConfiguration { public static StaticLocationServiceConfiguration from(Configuration config) throws F2SConfigurationException { StaticLocationServiceConfiguration result = new StaticLocationServiceConfiguration(); result.setServiceProviderBase(config.getString(SERVICE_PROVIDER_BASE, SERVICE_PROVIDER_LIST)); String className = config.getString(CONFIGURATION_LOADER_CLASS); if (className == null) { throw F2SConfigurationException.missing(CONFIGURATION_LOADER_CLASS); } try { result.setConfigurationLoaderClassName(className); } catch (Exception e) { throw F2SConfigurationException.with(config, CONFIGURATION_LOADER_CLASS, e); } return result; } 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 = F2SConfigurationException.class) public void testConfigurationLoaderClassName3() throws F2SConfigurationException { Configuration config = new BaseConfiguration(); config.addProperty(StaticLocationServiceConfiguration.CONFIGURATION_LOADER_CLASS, "not-a-class"); StaticLocationServiceConfiguration.from(config); }