Added tearDown method which resets the Context to null

This commit is contained in:
Luke Taylor 2005-03-18 00:45:48 +00:00
parent 04366d2b12
commit 8592e3bcbf
1 changed files with 4 additions and 0 deletions

View File

@ -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);
}