More defensive StepScope schlepping in tests

This commit is contained in:
Dave Syer
2013-02-05 15:33:00 +00:00
committed by Michael Minella
parent 4d3594474d
commit bea04ce186

View File

@@ -51,12 +51,13 @@ public class StepScopeTests {
@Before
public void setUp() throws Exception {
StepSynchronizationManager.release();
context = StepSynchronizationManager.register(stepExecution);
}
@After
public void tearDown() throws Exception {
StepSynchronizationManager.release();
StepSynchronizationManager.close();
}
@Test