void () { doMemberTest(InspectionGadgetsBundle.message("if.may.be.factorized.quickfix"), """ boolean test(boolean duplicateExpression, boolean payload) { boolean reassigned = false; return ((reassigned = payload)/**/ & duplicateExpression) | (true & duplicateExpression); }""", """ boolean test(boolean duplicateExpression, boolean payload) { boolean reassigned = false; return ((reassigned = payload) | true) & duplicateExpression; }""" ); }