instructions.add(new AddNodeInstructionImpl("/a", "c"));
instructions.add(new AddPropertyInstructionImpl("/a", "int", 1));
instructions.add(new AddPropertyInstructionImpl("/a/b", "string", "foo"));
instructions.add(new AddPropertyInstructionImpl("/a/c", "bool", true));
Commit commit = new CommitImpl("/",
"+a : { \"int\" : 1 , \"b\" : { \"string\" : \"foo\" } , \"c\" : { \"bool\" : true } } }",
"This is the simple node scenario with nodes /, /a, /a/b, /a/c", instructions);
CommitCommandMongo command = new CommitCommandMongo(mongoConnection, commit);
String revisionId = command.execute();