@Test
public void multipleOnlyInBoth() {

    RangeComparator comparator = comparator(context(0L, 100L));
    RangeStats stats = comparator.compare(keys(0, 1, 3, 5, 7, 9), keys(0, 2, 4, 6, 8, 9), this::alwaysMatch);
    assertFalse(stats.isEmpty());
    assertEquals(4, stats.getOnlyInSource());
    assertEquals(4, stats.getOnlyInTarget());
    assertEquals(2, stats.getMatchedPartitions());
    assertReported(1, MismatchType.ONLY_IN_SOURCE, mismatches);
    assertReported(3, MismatchType.ONLY_IN_SOURCE, mismatches);
    assertReported(5, MismatchType.ONLY_IN_SOURCE, mismatches);
    assertReported(7, MismatchType.ONLY_IN_SOURCE, mismatches);
    assertReported(2, MismatchType.ONLY_IN_TARGET, mismatches);
    assertReported(4, MismatchType.ONLY_IN_TARGET, mismatches);
    assertReported(6, MismatchType.ONLY_IN_TARGET, mismatches);
    assertReported(8, MismatchType.ONLY_IN_TARGET, mismatches);
    assertNothingReported(errors, journal);
    assertCompared(0, 9);
}