assertNotNull(maiKey);
}
@Test
public void testIdFieldNameMapping() throws Exception {
final Rectangle r = new Rectangle(1, 12);
final BasicDBObject dbObj = (BasicDBObject) getMorphia().toDBObject(r);
assertFalse(dbObj.containsField("id"));
assertTrue(dbObj.containsField(Mapper.ID_KEY));
assertEquals(4, dbObj.size()); //_id, h, w, className
}