}
public void testModuleWithoutBeanSpec() {
SimpleRootModuleDefinition rootDefinition = new SimpleRootModuleDefinition(rootModuleName, new String[] { "parent-context" });
String moduleString = " example-hibernate , example-dao ";
SingleStringModuleDefinitionSource builder = new SingleStringModuleDefinitionSource(rootDefinition, moduleString);
RootModuleDefinition result = builder.getModuleDefinition();
assertSame(result, rootDefinition);
assertEquals(2, rootDefinition.getChildModuleNames().size());
System.out.println(rootDefinition.getChildModuleNames());
assertNotNull(result.getChildModuleDefinition("example-hibernate"));
assertNotNull(result.getChildModuleDefinition("example-dao"));