@Test
public void shouldHandleVarchar() {

  Codec<String> varcharCodec = mapper.codecFor(primitive(VARCHAR));
  assertThat(varcharCodec).isSameAs(mapper.varchar);
  encodeAndDecode(varcharCodec, "hello", "0x68656c6c6f");
  encodeAndDecode(varcharCodec, "", "0x");
  encodeAndDecode(varcharCodec, "∆yøπ", "0xe2888679c3b8cf80");
  encodeAndDecode(varcharCodec, null, null);
  encodeObjectAndDecode(varcharCodec, "hello", "0x68656c6c6f", "hello");
  encodeObjectAndDecode(varcharCodec, 5, "0x35", "5");
  encodeObjectAndDecode(varcharCodec, null, null, null);
}