private static Log log = LogFactory.getInstance().getLog("firefly-system");
public static ApplicationContext applicationContext = new XmlApplicationContext("mixed-config.xml");
@Test
public void testInject() {
FoodService2 foodService2 = applicationContext.getBean("foodService2");
Food food = foodService2.getFood("apple");
log.debug(food.getName());
Assert.assertThat(food.getPrice(), is(5.3));
FoodService foodService = applicationContext.getBean(FoodService.class);
food = foodService.getFood("strawberry");