}
@SuppressWarnings("unchecked")
@Test
public void testAggregateAugmentedFieldSetReturnedInDifferentObject() {
coll.insert(new MockObject("string4", 4));
coll.insert(new MockObject("string3", 3));
coll.insert(new MockObject("string2", 2));
coll.insert(new MockObject("string1", 1));
coll.insert(new MockObject("string0", 0));
coll.insert(new MockObject("string-1", -1));
coll.insert(new MockObject("string-2", -2));
coll.insert(new MockObject("string-3", -3));
coll.insert(new MockObject("string-4", -4));
// build the steps in our aggregation pipeline
// get the difference between 0 and the document's integer value
// {$project : { string :1, integer : 1, distance : {$subtract : [0, "$integer"]}}}