@Test
	public final void verifyContextConfiguration() {
		assertSame(pluginContext, containerContext.getParent());
		assertTrue(containerContext.containsBean("moduleDeployer") && !pluginContext.containsBean("moduleDeployer"));
		assertTrue(adminContext.containsBean("messageBus"));
		containerContext.getBean(ContainerRegistrar.class);
		assertEquals(0, pluginContext.getBeansOfType(ContainerRegistrar.class).size());
		Map<String, Plugin> pluginMap = pluginContext.getBeansOfType(Plugin.class);
		assertTrue(pluginMap.size() > 0);

		assertSame(containerContext.getBean(ZooKeeperConnection.class), adminContext.getBean(ZooKeeperConnection.class));

		ContainerAttributes containerAttributes = containerContext.getBean(ContainerAttributes.class);
		assertEquals(RuntimeUtils.getHost(), containerAttributes.getHost());
		ApplicationUtils.dumpContainerApplicationContextConfiguration(containerContext);

		AdminAttributes adminAttributes = adminContext.getBean(AdminAttributes.class);
		assertEquals(RuntimeUtils.getHost(), adminAttributes.getHost());
	}
@author David Turanski
@author Janne Valkealahti
spring-xd-dirt/src/test/java/org/springframework/xd/dirt/config/LocalSingleNodeInitializationTests.java