protected void cleanDb() {
   template.dropCollection(template.getCollectionName(Person.class));
   template.dropCollection(template.getCollectionName(PersonWithAList.class));
   template.dropCollection(template.getCollectionName(PersonWith_idPropertyOfTypeObjectId.class));
   template.dropCollection(template.getCollectionName(PersonWith_idPropertyOfTypeString.class));
   template.dropCollection(template.getCollectionName(PersonWithIdPropertyOfTypeObjectId.class));
   template.dropCollection(template.getCollectionName(PersonWithIdPropertyOfTypeString.class));
   template.dropCollection(template.getCollectionName(PersonWithIdPropertyOfTypeInteger.class));
   template.dropCollection(template.getCollectionName(PersonWithIdPropertyOfPrimitiveInt.class));
   template.dropCollection(template.getCollectionName(PersonWithIdPropertyOfTypeLong.class));
   template.dropCollection(template.getCollectionName(PersonWithIdPropertyOfPrimitiveLong.class));
   template.dropCollection(template.getCollectionName(TestClass.class));
 }
 @Before
 public void setUp() {
   template1.dropCollection(template1.getCollectionName(Person.class));
 }