void () { FindModel findModel = FindManagerTestUtils.configureFindModel("oo"); String text = "//oooo"; findModel.setSearchContext(FindModel.SearchContext.EXCEPT_COMMENTS); LightVirtualFile file = new LightVirtualFile("A.java", text); FindResult findResult = myFindManager.findString(text, 0, findModel, file); assertFalse(findResult.isStringFound()); }