}
@Test(groups = {TestConstants.TESTNG_GROUP_KNOWN_ISSUE})
void testRoundtripModifyEscapedField() throws Exception
{
Group g1 = new Group();
g1.data().put("$foo", new DataMap());
Group g2 = new Group(g1.data().copy());
((DataMap)g2.data().get("$foo")).put("bar", 42);
PatchTree update = PatchCreator.diff(g1, g2);
assertEquals(update.toString(), "{$$foo={$set={bar=42}}}");
assertFalse(g1.equals(g2));
DataComplexProcessor processor = new DataComplexProcessor(new Patch(), update.getDataMap(), g1.data());