ElementMapping elementMapping = new ElementMapping();
elementMapping.setAttributes(new AttributesImpl());
elementMapping.setName("Bogus");
elementMapping.setDescriptor(descriptor);
elementMapping.setType(Iterator.class);
ReadContext readContext = new ReadContext(new BindingConfiguration(), new ReadConfiguration());
assertNull(introspector.getPolymorphicReferenceResolver().resolveType(elementMapping, readContext));
elementMapping.setName("elementA");
Class resolution = introspector.getPolymorphicReferenceResolver().resolveType(elementMapping, readContext);