mapping1.setTo(TO_1);
mapping1.addFrom(FROM_1);
mapping1.addFrom(FROM_2);
mapping1.addFrom(FROM_3);
mapping1.addFrom(FROM_4);
mappings1.addMapping(mapping1);
TypeMappings typeMappings1 = TypeMappings.getInstance(mappings1);
// make sure the to == from when passing in a mappings1 that don't exist
assertNotNull(typeMappings1.getTo(NOT_MAPPED_1));
assertEquals(NOT_MAPPED_1, typeMappings1.getTo(NOT_MAPPED_1));