assertThat(updated.simpleList, hasItem("world"));
}
@Test
public void testRename() throws Exception {
coll.insert(new MockObject("blah", "some string", 10));
coll.updateById("blah", DBUpdate.rename("string", "something"));
DBObject object = coll.getDbCollection().findOne("blah");
assertThat(object.get("string"), nullValue());
assertThat((String) object.get("something"), equalTo("some string"));
}