void () { doMemberTest(InspectionGadgetsBundle.message("if.may.be.factorized.quickfix"), """ boolean test(int duplicateExpression, int thenExpression, int elseExpression) { return (thenExpression == 2 &&/**/ duplicateExpression == 1) || (elseExpression == 3 && duplicateExpression == 1); }""", """ boolean test(int duplicateExpression, int thenExpression, int elseExpression) { return (thenExpression == 2 || elseExpression == 3) && duplicateExpression == 1; }""" ); }