@Test
public void compare() {

    final AlphabeticalCaseInsensitiveCharSequenceComparator comparator = new AlphabeticalCaseInsensitiveCharSequenceComparator();
    final String string1 = "abcde";
    final String string2 = "wxyz";
    assertTrue(comparator.compare(string1, string1) == 0);
    assertTrue(comparator.compare(string2, string2) == 0);
    assertTrue(comparator.compare(string1, string2) < 0);
    assertTrue(comparator.compare(string2, string1) > 0);
}