@Test
public void read() throws IOException {

    UUID uuid = UUID.randomUUID();
    MessagePack pack = new MessagePack();
    byte[] bytes = pack.write(uuid.toString());
    UUID result = pack.read(bytes, UUIDTemplate.getInstance());
    Assert.assertEquals(uuid, result);
}