MongoAssert.assertNextRevision(2);
}
@Test
public void ontainsAllAffectedNodes() throws Exception {
SimpleNodeScenario scenario = new SimpleNodeScenario(mk);
String rev1 = scenario.create();
String rev2 = scenario.update_A_and_add_D_and_E();
MongoAssert.assertCommitContainsAffectedPaths(rev1, "/", "/a", "/a/b", "/a/c");
MongoAssert.assertCommitContainsAffectedPaths(rev2, "/a", "/a/b", "/a/d", "/a/b/e");
}