@Test
public void testCompareTo_DifferentCase_LDAP259() {

    LdapRdnComponent component1 = new LdapRdnComponent("cn", "john doe");
    LdapRdnComponent component2 = new LdapRdnComponent("CN", "John Doe");
    assertThat(component2).as("Should be equal").isEqualTo(component1);
    assertThat(component1.compareTo(component2) == 0).as("0 should be returned by compareTo").isTrue();
}