@Test
public void testSimpleConfig() throws Exception {
assertNotNull(ctx);
assertTrue(ctx.containsBean(YarnSystemConstants.DEFAULT_ID_CONTAINER));
assertTrue(ctx.containsBean("org.springframework.yarn.internal.springYarnAnnotationPostProcessor"));
YarnContainer container = ctx.getBean(YarnSystemConstants.DEFAULT_ID_CONTAINER, YarnContainer.class);
assertTrue(container instanceof DefaultYarnContainer);
assertNotNull(container);
container.run();
TestContainerPojo testContainerPojo = ctx.getBean(TestContainerPojo.class);
assertTrue(testContainerPojo.executed);
}