This commit is contained in:
dsyer
2009-12-29 18:18:51 +00:00
parent 9e1d35c9cb
commit 99aeb7fe62
3 changed files with 31 additions and 2 deletions

View File

@@ -47,6 +47,10 @@ public class StepScopePlaceholderIntegrationTests implements BeanFactoryAware {
@Qualifier("bar")
private Collaborator bar;
@Autowired
@Qualifier("nested")
private Collaborator nested;
private StepExecution stepExecution;
private ListableBeanFactory beanFactory;
@@ -128,4 +132,9 @@ public class StepScopePlaceholderIntegrationTests implements BeanFactoryAware {
assertEquals("[bar]", list.getList().toString());
}
@Test
public void testNested() throws Exception {
assertEquals("bar", nested.getParent().getName());
}
}