13881389139013911392139313941395139613971398
public void writesProjectingTypeCorrectly() { NestedType nested = new NestedType(); nested.c = "C"; ProjectingType type = new ProjectingType(); type.name = "name"; type.foo = "bar"; type.a = nested; BasicDBObject result = new BasicDBObject();