RESOLVED - issue BATCH-1280: JobParserJobFactoryBean should be a singleton
http://jira.springframework.org/browse/BATCH-1280
This commit is contained in:
@@ -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());
|
||||
}
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user