@Test
public void testUpdateOfWithRemoveFields() throws Exception {

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