assertThat(updated.simpleList, hasItem("hello"));
}
@Test
public void testPullAllList() throws Exception {
MockObject toSave = new MockObject("blah", "string", 10);
toSave.simpleList = Arrays.asList("hello", "world", "!");
coll.insert(toSave);
coll.updateById("blah", DBUpdate.pullAll("simpleList", Arrays.asList("hello", "!")));
MockObject updated = coll.findOneById("blah");
assertThat(updated.simpleList, hasSize(1));
assertThat(updated.simpleList, hasItem("world"));
}