public void testExternalMapping() throws Exception {
Mapper mapr = morphia.getMapper();
ExternalMapperExtTest.CloneMapper helper = new CloneMapper(mapr);
helper.map(Skeleton.class, EntityWithNoAnnotations.class);
MappedClass mc = mapr.getMappedClass(EntityWithNoAnnotations.class);
mc.update();
assertNotNull(mc.getIdField());
assertNotNull(mc.getEntityAnnotation());
Assert.assertEquals("special", mc.getEntityAnnotation().value());
EntityWithNoAnnotations ent = new EntityWithNoAnnotations();