@Test
public void testCompareToIgnoreCase() {

    TObject a = Convert.javaToThrift("a");
    TObject b = Convert.javaToThrift("B");
    TObject c = Convert.javaToThrift("c");
    Assert.assertTrue(a.compareToIgnoreCase(b) < 0);
    Assert.assertTrue(a.compareToIgnoreCase(c) < 0);
    Assert.assertTrue(b.compareToIgnoreCase(c) < 0);
    Assert.assertTrue(b.compareToIgnoreCase(a) > 0);
    TObject a2 = Convert.javaToThrift("A");
    Assert.assertEquals(0, a.compareToIgnoreCase(a2));
}