@Test
public void valueMismatchIncrementsPartitionMismatches() {

    RangeComparator comparator = comparator(context(0L, 100L));
    RangeStats stats = comparator.compare(keys(0, 1, 2), keys(0, 1 ,2), this::valuesMismatch);
    assertEquals(0, stats.getMatchedPartitions());
    assertEquals(3, stats.getMismatchedPartitions());
    assertEquals(0, stats.getMatchedValues());
    assertEquals(30, stats.getMismatchedValues());
    assertNothingReported(errors, journal);
    assertReported(0, MismatchType.PARTITION_MISMATCH, mismatches);
    assertReported(1, MismatchType.PARTITION_MISMATCH, mismatches);
    assertReported(2, MismatchType.PARTITION_MISMATCH, mismatches);
    assertCompared(0, 1, 2);
}