void () { final ConditionalExpressionInspection inspection = new ConditionalExpressionInspection(); inspection.ignoreSimpleAssignmentsAndReturns = true; myFixture.enableInspections(inspection); doTest(); }