EntryBinding binding = new TupleInputBinding();
TupleOutput out = new TupleOutput();
out.writeString("abc");
binding.objectToEntry(new TupleInput(out), buffer);
assertEquals(4, buffer.getSize());
Object result = binding.entryToObject(buffer);
assertTrue(result instanceof TupleInput);
TupleInput in = (TupleInput) result;