@Test
public void testUpdateOfWithRemove() throws Exception {

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