@Test
public void shouldCorrectlyWriteUuid() {

    UUID id = UUID.randomUUID();
    String expected = "{ \"$uuid\" : \"" + id + "\" }";
    String actual = writer.write(id);
    // print =true;
    assertSame(expected, actual);
}