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