assertTrue(context.containsBean("jobRepository"));
String[] beanNames = BeanFactoryUtils.beanNamesForTypeIncludingAncestors(context.getBeanFactory(),
JobController.class);
assertEquals(1, beanNames.length);
MenuManager menuManager = context.getBean(MenuManager.class);
assertEquals(4, menuManager.getMenus().size());
context.refresh();
ClassPathXmlApplicationContext child = new ClassPathXmlApplicationContext(
new String[] { "classpath:/test-job-context.xml" }, parent);