@Test
    public void testAutoFieldMap() {
        ClassMappingMetadata classMetadata = mapMetadata.getClassMappingByName(CLASS_A, CLASS_B);
        FieldMappingMetadata fieldMetadata = classMetadata.getFieldMappingBySource(AUTOFIELD);
        assertEquals(AUTOFIELD, fieldMetadata.getDestinationName());
    }
Tests for the new mapping catalogue interfaces.
core/src/test/java/com/github/dozermapper/core/functional_tests/MetadataFieldTest.java