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