void () { DataFlowInspection inspection = new DataFlowInspection(); ConstantValueInspection cvInspection = new ConstantValueInspection(); cvInspection.REPORT_CONSTANT_REFERENCE_VALUES = false; myFixture.enableInspections(inspection, cvInspection); myFixture.testHighlighting(getTestName(false) + ".java"); }