NodeAssert.assertEquals(expecteds, actuals);
}
@Test
public void testFetchWithTwoRevisions() throws Exception {
SimpleNodeScenario scenario = new SimpleNodeScenario(mongoConnection);
String firstRevisionId = scenario.create();
String secondRevisionId = scenario.update_A_and_add_D_and_E();
FetchNodesForRevisionQuery query = new FetchNodesForRevisionQuery(mongoConnection, new String[] { "/", "/a",
"/a/b", "/a/c", "/a/d", "/a/b/e", "not_existing" }, firstRevisionId);
List<NodeMongo> nodeMongos = query.execute();
List<Node> actuals = NodeMongo.toNode(nodeMongos);