void () { String name = getTestName(false); myFixture.configureByFile(name + ".java"); myFixture.launchAction(myFixture.findSingleIntention(JavaBundle.message("inspection.redundant.array.creation.quickfix"))); NonBlockingReadActionImpl.waitForAsyncTaskCompletion(); myFixture.checkResultByFile(name + "_after.java"); }