### Question:
ScheduledChargeComparator implements Comparator<ScheduledCharge> { @Override public int compare(ScheduledCharge o1, ScheduledCharge o2) { return compareScheduledCharges(o1, o2); }  @Override int compare(ScheduledCharge o1, ScheduledCharge o2);  }### Answer:
@Test public void compare() { Assert.assertEquals(testCase.expected == 0, ScheduledChargeComparator.compareScheduledCharges(testCase.a, testCase.b) == 0); Assert.assertEquals(testCase.expected > 0, ScheduledChargeComparator.compareScheduledCharges(testCase.a, testCase.b) > 0); Assert.assertEquals(testCase.expected < 0, ScheduledChargeComparator.compareScheduledCharges(testCase.a, testCase.b) < 0); }