assertEquals(object.simpleList, result.simpleList);
}
@Test
public void testInsertRetrievePopulatedComplexList() {
MockObject object = new MockObject();
MockEmbeddedObject o1 = new MockEmbeddedObject();
o1.value = "o1";
MockEmbeddedObject o2 = new MockEmbeddedObject();
o2.value = "o2";
object.complexList = Arrays.asList(o1, o2);
coll.insert(object);
MockObject result = coll.findOne();
assertEquals(object.complexList, result.complexList);
}