assertEquals(1, s.size());
Map<String,? extends ServletFactoryBean> beans = context.getBeansOfType(InternalFrameworkIntegrationServletFactoryBean.class);
assertEquals(1, beans.size());
InternalFrameworkIntegrationServletFactoryBean firstValue = (InternalFrameworkIntegrationServletFactoryBean) ObjectMapUtils.getFirstValue(beans);
assertEquals("delegator", firstValue.getServletName());
beans = context.getBeansOfType(ExtendedServletFactoryBean.class);
assertEquals(1, beans.size());
ExtendedServletFactoryBean extendedFactoryBean = (ExtendedServletFactoryBean) ObjectMapUtils.getFirstValue(beans);