01: package org.objectweb.celtix.tools.common.toolspec;
02:
03: import junit.framework.TestCase;
04: import org.objectweb.celtix.tools.common.ToolException;
05:
06: public class ToolSupportTest extends TestCase {
07:
08: public void testProtect() throws ToolException {
09: ToolSupport toolSupport = new ToolSupport();
10:
11: toolSupport.performFunction();
12: toolSupport.destroy();
13: assertTrue(toolSupport.getContext() == null);
14: }
15:
16: }
|