void () { assertQuickfixNotAvailable(InspectionGadgetsBundle.message("if.may.be.factorized.quickfix"), """ class X { boolean test() { boolean duplicateExpression = true; boolean expressionWithSideEffect = false; boolean elseExpression = false; boolean dummy = (duplicateExpression || (expressionWithSideEffect = true)) &&/**/ (elseExpression || duplicateExpression); return expressionWithSideEffect; } } """); }