customSpringService = (CustomSpringService) ctx.getBean("customSpringService");
customSpringService.sayGretting();
assertEquals(customSpringService.getGreeting(), GREETING);
// lookup and use the Spring bean using Avalon's Service Manager
customSpringService = (CustomSpringService) serviceManager.lookup("customSpringService");
customSpringService.sayGretting();
assertEquals(customSpringService.getGreeting(), GREETING);
// lookup and use the Avalon service using Spring's context
customAvalonService = (CustomAvalonService) ctx.getBean("customAvalonService");