public void testConfigureServiceAddedProperty() throws Exception {
final ConfigurationFactory factory = new ConfigurationFactory();
final Container container = new Container("MyContainer", "STATELESS", "org.acme#CheddarContainer");
container.getProperties().setProperty("anotherProperty", "Cheese is good");
final StatelessSessionContainerInfo myStatelessContainer = factory.configureService(container, StatelessSessionContainerInfo.class);
assertNotNull(myStatelessContainer);
assertEquals("MyContainer", myStatelessContainer.id);
assertEquals("org.acme.SuperContainer", myStatelessContainer.className);
assertNotNull(myStatelessContainer.constructorArgs);