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);
   return mockObject;
 }
 private MockObject insertMockObjectWithEmbedded() {
   MockObject mockObject = new MockObject("someid", "hello", 10);
   MockEmbeddedObject embeddedObject = new MockEmbeddedObject();
   embeddedObject.value = "hello";
   embeddedObject.list = Arrays.asList("a", "b", "c");
   mockObject.object = embeddedObject;
   coll.insert(mockObject);
   return mockObject;
 }