deploy("IntroductionDependencyTestCaseNotAutomatic0.xml");
try
{
validate();
SimpleBean dependency = (SimpleBean) getBean("Dependency");
checkInterceptedBean(dependency);
}
finally
{
undeploy("IntroductionDependencyTestCaseNotAutomatic0.xml");
}
try
{
getBean("Intercepted");
fail("Bean should not be installed after the dependency is undeployed");
}
catch (IllegalStateException expected)
{
KernelControllerContext context = getControllerContext("Intercepted", ControllerState.DESCRIBED);
assertNotNull(context);
}
checkPlainBean();
deploy("IntroductionDependencyTestCaseNotAutomatic0.xml");
try
{
validate();
SimpleBean dependency = (SimpleBean) getBean("Dependency");
checkInterceptedBean(dependency);
checkPlainBean();
}
finally
{