KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > netbeans > examples > modules > lib > LibClassTest


1 package org.netbeans.examples.modules.lib;
2 import org.netbeans.examples.modules.misc.Misc;
3 import org.netbeans.junit.NbTestCase;
4 public class LibClassTest extends NbTestCase {
5     public LibClassTest(String JavaDoc name) {
6         super(name);
7     }
8     public void testGetMagicToken() throws Exception JavaDoc {
9         assertTrue("uses Misc", LibClass.getMagicToken().indexOf(Misc.getMagicTokenette()) != -1);
10     }
11 }
12
Popular Tags