@Test
    public void testClassLevelMappingOfField_FirstToSecond() {
        First source = new First();
        source.someField = FIELD_VALUE;
        source.another = 2;

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

        assertThat(target.someField, 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