void () { ((StatisticsManagerImpl)StatisticsManager.getInstance()).enableStatistics(myFixture.getTestRootDisposable()); addResource("http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd", getTestDataPath() + "/hibernate-mapping-3.0.dtd"); configureByFile("CorrectSelectionInsertion.xml"); selectItem(myFixture.getLookupElements()[4], '\t'); checkResultByFile("CorrectSelectionInsertion_after.xml"); StatisticsUpdate.applyLastCompletionStatisticsUpdate(); configureByFile("CorrectSelectionInsertion2.xml"); myFixture.getEditor().getSelectionModel().removeSelection(); selectItem(myFixture.getLookupElements()[0], '\t'); checkResultByFile("CorrectSelectionInsertion2_after.xml"); }