assertEquals(tuple, newTuple);
TupleObjectInspector<Pair> poi = new TupleObjectInspector<Pair>(TupleFactory.PAIR,
Writables.strings(), Writables.ints());
Pair pair = poi.create("word", 29);
assertEquals("word", pair.first());
assertEquals(29, pair.second());
}
@Test
public void testByteBufferObjectInspector() {
byte[] bytes = {0, 9, 4, 18, 64, 6, 1};