@Test
    public void testBidirectional() {
        ReferenceHolderA sourceBean = new ReferenceHolderA();
        ReferencedObject sourceReferencedObject = new ReferencedObject();
        sourceBean.setReferencedObject(sourceReferencedObject);

        ReferenceHolderB destinationBean = new ReferenceHolderB();

        mapper.map(sourceBean, destinationBean, "bi-directional");

        ReferencedObject mappedReferenceObject = destinationBean.getReferencedObject();
        assertThat(mappedReferenceObject, sameInstance(sourceReferencedObject));
    }
Tests verify that CopyBtReference configuration is used for both one-way mapping and bi-directional mapping.
core/src/test/java/com/github/dozermapper/core/functional_tests/CopyByReferenceFieldLevelOneWayTest.java