diff --git a/java/testFramework/src/com/siyeh/ig/LightJavaInspectionTestCase.java b/java/testFramework/src/com/siyeh/ig/LightJavaInspectionTestCase.java index fe14ec330d42..7396ab3bf943 100644 --- a/java/testFramework/src/com/siyeh/ig/LightJavaInspectionTestCase.java +++ b/java/testFramework/src/com/siyeh/ig/LightJavaInspectionTestCase.java @@ -99,7 +99,7 @@ public abstract class LightJavaInspectionTestCase extends LightJavaCodeInsightFi protected final void checkQuickFix(String intentionName) { final IntentionAction intention = myFixture.getAvailableIntention(intentionName); - assertNotNull(intention); + assertNotNull("Intention \"" + intentionName + "\" not found.", intention); myFixture.launchAction(intention); NonBlockingReadActionImpl.waitForAsyncTaskCompletion(); myFixture.checkResultByFile(getTestName(false) + ".after.java");