@Test
    public void testExplicitXMLFieldMappingOverridesDefaultFieldMapping() {
        First source = new First();
        source.someField = FIELD_VALUE;

        CustomFieldMapped target = mapper.map(source, CustomFieldMapped.class);

        assertThat(target.someField, nullValue());
        assertThat(target.otherField, equalTo(FIELD_VALUE));
    }
Tests for situations when the entire class has been declared as accessible
(is-accessible=true).
core/src/test/java/com/github/dozermapper/core/functional_tests/ClassLevelIsAccessibleTest.java