*/
public class XmlGroovyBeanDefinitionTest1 {
@Test
public void test() {
ApplicationContext ctx = new GenericGroovyApplicationContext("classpath:spring-config-xml.groovy");
MessagePrinter messagePrinter = (MessagePrinter) ctx.getBean("messagePrinter");
messagePrinter.printMessage();
System.out.println(ctx.getBean("map"));
}