@Test
public void testTagAndStringHaveSameHashCode() {

    String base = Random.getString();
    TObject string = Convert.javaToThrift(base);
    TObject tag = Convert.javaToThrift(Tag.create(base));
    Assert.assertEquals(tag.hashCode(), string.hashCode());
}