1 package org.objectweb.celtix.tools.common.toolspec; 2 3 import junit.framework.TestCase; 4 import org.objectweb.celtix.tools.common.ToolException; 5 public class ToolSupportTest extends TestCase { 6 7 8 public void testProtect() throws ToolException { 9 ToolSupport toolSupport = new ToolSupport(); 10 11 toolSupport.performFunction(); 12 toolSupport.destroy(); 13 assertTrue(toolSupport.getContext() == null); 14 } 15 16 } 17 | Popular Tags |