@Test
public void testCompareTo() {

    String s1 = TestData.getString();
    String s2 = TestData.getString();
    Text t1 = Text.wrap(s1);
    Text t2 = Text.wrap(s2);
    Assert.assertEquals(s1.compareTo(s2), t1.compareTo(t2));
}