RESOLVED - issue BATCH-1280: JobParserJobFactoryBean should be a singleton

http://jira.springframework.org/browse/BATCH-1280
This commit is contained in:
dsyer
2009-06-05 10:17:57 +00:00
parent 7ef1e58867
commit 9a7bdaa775
4 changed files with 20 additions and 3 deletions

View File

@@ -0,0 +1,17 @@
package org.springframework.batch.core.configuration.xml;
import static org.junit.Assert.*;
import org.junit.Test;
public class JobParserJobFactoryBeanTests {
private JobParserJobFactoryBean factory = new JobParserJobFactoryBean("jobFactory");
@Test
public void testSingleton() throws Exception {
assertTrue("Expected singleton", factory.isSingleton());
}
}