More defensive StepScope schlepping in tests

This commit is contained in:
Dave Syer
2013-02-05 15:33:00 +00:00
parent a871d0b80f
commit 521b4f9d9c

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