@Test
public void testClassIndexInherit() throws Exception {
getMorphia().map(Circle.class)
.map(Shape.class);
final MappedClass mc = getMorphia().getMapper()
.getMappedClass(Circle.class);
assertNotNull(mc);
assertEquals(2, mc.getAnnotations(Indexes.class)
.size());
getDs().ensureIndexes();
final DBCollection coll = getDs().getCollection(Circle.class);