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