public class NodeExistsCommandMongoTest extends BaseMongoTest {
@Test
public void simple() throws Exception {
SimpleNodeScenario scenario = new SimpleNodeScenario(mongoConnection);
String revisionId = scenario.create();
NodeExistsCommandMongo command = new NodeExistsCommandMongo(
mongoConnection, "/a", revisionId);
boolean exists = command.execute();
assertTrue(exists);