* @since 11.11.13
*/
public class EntityRemoverTest {
@Test
public void testRemoveNodeEntityWithAutoIndex() throws Exception {
GraphDatabaseService db = new TestGraphDatabaseFactory().newImpermanentDatabase();
try (Transaction tx = db.beginTx()) {
AutoIndexer<Node> nodeAutoIndexer = db.index().getNodeAutoIndexer();
nodeAutoIndexer.setEnabled(true);
nodeAutoIndexer.startAutoIndexingProperty("foo");
Infrastructure infrastructure = MappingInfrastructureFactoryBean.createDirect(db, null);