void () { doMemberTest(InspectionGadgetsBundle.message("if.may.be.conditional.quickfix"), """ void test(boolean foo, boolean bar) { boolean c = false; boolean b = (!foo &&/**/ (c = bar)) || (foo && true);}""", """ void test(boolean foo, boolean bar) { boolean c = false; boolean b = foo ? true : (c = bar);}""" ); }