@Test
    public void testExplicitAnnotationMappingOverridesDefaultFieldMapping() {
        AnnotationMapped source = new AnnotationMapped();
        source.aField = FIELD_VALUE;
        source.bField = 42;

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

        assertThat(target.someField, equalTo(source.aField));
        assertThat(target.another, equalTo(source.bField));
    }
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