checkNoIntercepted2();
checkNoIntercepted3();
deploy(getFile0());
try
{
Dependency dependency1 = (Dependency) getBean("Dependency1");
assertNotNull(dependency1);
checkIntercepted1(dependency1);
checkNoIntercepted2();
checkNoIntercepted3();
deploy(getFile1());
try
{
validate();
Dependency dependency2 = (Dependency) getBean("Dependency2");
assertNotNull(dependency2);
checkIntercepted1(dependency1);
checkIntercepted2(dependency2);
checkIntercepted3(dependency1, dependency2);
}
finally
{
undeploy(getFile1());
}
}
finally
{
undeploy(getFile0());
}
checkNoIntercepted1();
checkNoIntercepted2();
checkNoIntercepted3();
deploy(getFile1());
try
{
Dependency dependency2 = (Dependency) getBean("Dependency2");
assertNotNull(dependency2);
checkNoIntercepted1();
checkIntercepted2(dependency2);
checkNoIntercepted3();
deploy(getFile0());
try
{
validate();
Dependency dependency1 = (Dependency) getBean("Dependency1");
assertNotNull(dependency1);
checkIntercepted1(dependency1);
checkIntercepted2(dependency2);
checkIntercepted3(dependency1, dependency2);