resource.getProperties().put("newProperty", "some/value");
AddOrUpdateNodeCommand cmd = new AddOrUpdateNodeCommand(repo, credentials, null, resource, logger);
cmd.execute().get();
session.refresh(false);
Node content = session.getRootNode().getNode("content");
assertThat(content.getPrimaryNodeType().getName(), equalTo("sling:Folder"));
} finally {