01: package net.sourceforge.jaxor.tests;
02:
03: import junit.framework.TestCase;
04: import net.sourceforge.jaxor.impl.MapperRegistryImpl;
05:
06: /*
07: * User: Mike
08: * Date: Aug 25, 2003
09: * Time: 8:22:18 PM
10: */
11:
12: public class MapperRegistryTest extends TestCase {
13:
14: private net.sourceforge.jaxor.api.MapperRegistry _reg = new net.sourceforge.jaxor.impl.MapperRegistryImpl();
15:
16: public void testRegistry() {
17: assertEquals(_reg.get(String.class), _reg.get("String"));
18: }
19:
20: public void testFullRegister() {
21: assertEquals(_reg.get(String.class), _reg
22: .get("java.lang.String"));
23: }
24: }
|