    001    package org.picocontainer.classname;
    002
    003    import static org.junit.Assert.assertEquals;
    004
    005    import org.junit.Test;
    006    import org.picocontainer.classname.ClassName;
    007
    008    /**
    009     *
    010     * @author Mauro Talevi
    011     */
    012    public class ClassNameKeyTestCase {
    013
    014        @Test public void testGetClassName(){
    015            String className = ClassName.class.getName();
    016            ClassName key = new ClassName(className);
    017            assertEquals(className, key.toString());
    018        }
    019    }