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