@Test
public void testUpdateOf() throws Exception {

    Update<TestUser> update = dao.updateOf(TestUser.builder().name("Rename").build());
    assertTrue(update.isUpdateField("name"));
    assertEquals(ImmutableSet.of("name"), update.getUpdateFields());
    assertEquals("Rename", update.getPartial().getName());
}