public void testCanModify() throws Exception
{
Node node = root.addNode("node1", "nt:resource");
NodeType type = node.getPrimaryNodeType();
assertFalse(type.canAddChildNode("jcr:anyNode"));
assertFalse(type.canAddChildNode("jcr:anyNode", "nt:base"));
// assertTrue(type.canSetProperty("jcr:data", new BinaryValue("test")));
assertFalse(type.canSetProperty("jcr:data", new BinaryValue[]{new BinaryValue("test")}));
assertFalse(type.canSetProperty("jcr:notFound", new BinaryValue("test")));
// [PN] 06.03.06 Row below commented
// assertFalse(type.canSetProperty("jcr:data", new StringValue("test")));