void () { doTestEscapedInsertion("xyz", "&"); doTestEscapedInsertion("xyz", "&&"); doTestEscapedInsertion("xyz", "&x&"); doTestEscapedInsertion("&xyz", "a"); doTestEscapedInsertion("&xyz", " "); doTestEscapedInsertion("x&yz", "a"); doTestEscapedInsertion("x&yz", " "); doTestEscapedInsertion("xy&z", "a"); doTestEscapedInsertion("xy&z", " "); doTestEscapedInsertion("xyz&", "a"); doTestEscapedInsertion("xyz&", " "); doTestEscapedInsertion("&x&y&z&", "a"); doTestEscapedInsertion(" x&y&z&", "a"); doTestEscapedInsertion(" x y&z&", "a"); doTestEscapedInsertion("&x y&z&", "a"); doTestEscapedInsertion("&x y&z ", "a"); doTestEscapedInsertion("&x&y&z&", "<"); doTestEscapedInsertion("&x&y&z&", ">"); doTestEscapedInsertion("_xyz", "a"); doTestEscapedInsertion("x_yz", "a"); doTestEscapedInsertion("xy_z", "a"); doTestEscapedInsertion("xyz_", "a"); doTestEscapedInsertion("_xyz_", "a"); doTestEscapedInsertion("_x_y_z_", "a"); }