*/
public class MapBasedSoapEndpointMappingTest {
@Test
public void testBeanNames() throws Exception {
StaticApplicationContext context = new StaticApplicationContext();
context.registerSingleton("endpointMapping", MyMapBasedEndpointMapping.class);
context.registerSingleton("endpoint", Object.class);
context.registerAlias("endpoint", "alias");
MyMapBasedEndpointMapping mapping = new MyMapBasedEndpointMapping();
mapping.setValidKeys(new String[]{"endpoint", "alias"});
mapping.setRegisterBeanNames(true);
mapping.setApplicationContext(context);