KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > nanocontainer > ClassNameKeyTestCase


1 package org.nanocontainer;
2
3 import junit.framework.TestCase;
4
5 /**
6  *
7  * @author Mauro Talevi
8  */

9 public class ClassNameKeyTestCase extends TestCase {
10
11     public void testGetClassName(){
12         String JavaDoc className = ClassNameKey.class.getName();
13         ClassNameKey key = new ClassNameKey(className);
14         assertEquals(className, key.getClassName());
15     }
16 }
17
Popular Tags