return mockObject;
}
private MockObject insertMockObjectWithComplexList() {
MockObject mockObject = new MockObject("someid", "hello", 10);
MockEmbeddedObject embeddedObject1 = new MockEmbeddedObject();
embeddedObject1.value = "foo";
embeddedObject1.list = Arrays.asList("a", "b", "c");
MockEmbeddedObject embeddedObject2 = new MockEmbeddedObject();
embeddedObject2.value = "bar";
embeddedObject2.list = Arrays.asList("d", "e");
mockObject.complexList = Arrays
.asList(embeddedObject1, embeddedObject2);
coll.insert(mockObject);