deploy("InterceptorWithAnnotationDependencyTestCaseNotAutomatic0.xml");
try
{
validate();
SimpleBean dependency = (SimpleBean) getBean("Dependency");
assertNotNull(dependency);
checkInterceptedAndInjected("Intercepted", dependency);
checkInterceptedAndInjected("AnnotatedIntercepted", dependency);
checkInterceptedAndInjected("MethodAnnotatedIntercepted", dependency);
checkInterceptedAndInjectedMethodAnnotatedXml(dependency);
}
finally
{
undeploy("InterceptorWithAnnotationDependencyTestCaseNotAutomatic0.xml");
}
checkNotInstalledAndDescribed("Intercepted");
checkNotInstalledAndDescribed("AnnotatedIntercepted");
checkNotInstalledAndDescribed("MethodIntercepted");
checkNotInstalledAndDescribed("MethodAnnotatedIntercepted");
deploy("InterceptorWithAnnotationDependencyTestCaseNotAutomatic0.xml");
try
{
validate();
SimpleBean dependency = (SimpleBean) getBean("Dependency");
assertNotNull(dependency);
checkInterceptedAndInjected("Intercepted", dependency);
checkInterceptedAndInjected("AnnotatedIntercepted", dependency);
checkInterceptedAndInjected("MethodAnnotatedIntercepted", dependency);