Node node3 = session1.getNode("/node1/node3");
assertEquals("/node1/node3", node3.getPath());
node3.setProperty("property1", "value1");
Item property1 = session1.getProperty("/node1/node3/property1");
assertFalse(property1.isNode());
assertEquals("value1", ((Property) property1).getString());
// Make sure these items are not accessible through another session
assertFalse(session2.itemExists("/node1"));
assertFalse(session2.itemExists("/node1/node2"));