void (boolean skipIfNecessary) { TrivialStringConcatenationInspection inspection = new TrivialStringConcatenationInspection(); inspection.skipIfNecessary = skipIfNecessary; myFixture.enableInspections(inspection); myFixture.testHighlighting(getTestName(false) + ".java"); }