@Test
public void write() throws IOException {

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