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