@Test(expected = MetadataLookupException.class)
    public void testFieldMapNonExistantSource() {
        ClassMappingMetadata classMetadata = mapMetadata.getClassMappingByName(CLASS_A, CLASS_B);
        classMetadata.getFieldMappingBySource(NONEXISTENTFIELD);
    }
Tests for the new mapping catalogue interfaces.
core/src/test/java/com/github/dozermapper/core/functional_tests/MetadataFieldTest.java