}
@Test
public void setLocale() {
service = (RequestContextChainingServiceImpl) factory.getBean("rc2");
SetLocaleRequestContextFactoryImpl f = getFactory(service, SetLocaleRequestContextFactoryImpl.class);
assertEquals("_input_charset", getFieldValue(f, "inputCharsetParam", null));
assertEquals("_output_charset", getFieldValue(f, "outputCharsetParam", null));
assertEquals("en_US", getFieldValue(f, "defaultLocale", null).toString());
assertEquals("UTF-8", getFieldValue(f, "defaultCharset", null));