Added tearDown method which resets the Context to null
This commit is contained in:
parent
04366d2b12
commit
8592e3bcbf
|
@ -41,6 +41,10 @@ public class ContextHolderTests extends TestCase {
|
|||
super.setUp();
|
||||
}
|
||||
|
||||
public void tearDown() {
|
||||
ContextHolder.setContext(null);
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
junit.textui.TestRunner.run(ContextHolderTests.class);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue