@Test
public void encodeTwo() throws Exception {

  Record record = new Record(schema);
  record.put("f", "f1");
  byte[] result1 = underTest.encode(record);
  record.put("f", "f2");
  byte[] result2 = underTest.encode(record);
  assertRecord(result1, "f1");
  assertRecord(result2, "f2");
}