}
public void structuralUpdatesCanBeDone() {
final DBCollection<Map<String, Object>> collection = context.openCollection("foo2");
collection.save(newDoc(new ObjectId(), 1));
collection.update(new Query().field("foo").is(1), new Update().field("list").set(list("1", "2", "3")));
specify(collection.query(new Query().field("list").is(list("1", "2", "3"))).size(), does.equal(1));
}