public void setProperty() throws CommitFailedException {
RootImpl root = new RootImpl(store, null);
Tree tree = root.getTree("/");
assertFalse(tree.hasProperty("new"));
CoreValue value = valueFactory.createValue("value");
tree.setProperty("new", value);
PropertyState property = tree.getProperty("new");
assertNotNull(property);
assertEquals("new", property.getName());
assertEquals(value, property.getValue());