RESOLVED - issue BATCH-975: SimpleStepFactoryBean should check for its required dependencies

This commit is contained in:
dsyer
2008-12-30 07:39:53 +00:00
parent aab745e591
commit cbb462ca59
3 changed files with 15 additions and 5 deletions

View File

@@ -81,6 +81,11 @@ public class SimpleStepFactoryBeanTests {
MapStepExecutionDao.clear();
}
@Test(expected=IllegalArgumentException.class)
public void testMandatoryProperties() throws Exception {
new SimpleStepFactoryBean<String, String>().getObject();
}
@Test
public void testSimpleJob() throws Exception {