@Test public void testIndexHasEntityMap() {

    TextIndexLucene index = (TextIndexLucene) Assembler.general.open(SIMPLE_INDEX_SPEC);
    try {
        assertEquals(RDFS.label.asNode(), index.getDocDef().getPrimaryPredicate());
    }
    finally {
        index.close();
    }
}