Comparator<String> order = Rank.<String>comparableComparator();
TreeManager treeManager = new BTreeManager(testNode, 2, 4, order, true);
PropertySequence properties = ItemSequence.createPropertySequence(treeManager, errorHandler);
ValueFactory vFactory = testNode.getSession().getValueFactory();
properties.addProperty("key", vFactory.createValue("key_"));
assertTrue(properties.hasItem("key"));
Iterator<Property> propertyIt = properties.iterator();
assertTrue(propertyIt.hasNext());
assertEquals("key", propertyIt.next().getName());