@Test
public void testDirectoryLayerCopy() {

    Map<String, ResolverResult> dirLayerMappings;
    try (FDBRecordContext context = database.openContext()) {
        dirLayerMappings = seedDirectoryLayer(context, primary, 10);
    }
    ResolverMappingReplicator replicator = new ResolverMappingReplicator(primary);
    replicator.copyTo(replica);
    assertContainsMappings(replica, dirLayerMappings);
}