void () { final List<String> data = TestUtils.readInput(getTestDataPath() + "/" + getTestName(true) + ".test"); myFixture.configureByText("a.groovy", data.get(0)); myFixture.enableInspections(new SecondUnsafeCallInspection()); final IntentionAction action = myFixture.getAvailableIntention("Second unsafe call"); Assert.assertNull(action); }