@Test
public void shouldHandleTimeuuid() throws Exception {

  Codec<UUID> timeuuidCodec = mapper.codecFor(primitive(TIMEUUID));
  assertThat(timeuuidCodec).isSameAs(mapper.timeuuid);
  String uuidStr = "5bc64000-2157-11e7-bf6d-934d002a66ff";
  UUID uuid = java.util.UUID.fromString(uuidStr);
  String byteStr = "0x5bc64000215711e7bf6d934d002a66ff";
  encodeAndDecode(timeuuidCodec, uuid, byteStr);
  encodeAndDecode(timeuuidCodec, null, null);
  encodeObjectAndDecode(timeuuidCodec, uuidStr, byteStr, uuid);
  encodeObjectAndDecode(timeuuidCodec, uuid, byteStr, uuid);
  encodeObjectAndDecode(timeuuidCodec, null, null, null);
  encodeObjectAndDecode(timeuuidCodec, Optional.of(12), null, null);
}