public void testGetItemParentWithSinglePermission() throws Exception
{
QPath path;
dataContainer.add(new PersistedNodeData("4", path = new QPath(new QPathEntry[]{new QPathEntry("", "4", 1, "4")}),
"5", 1, 1, null, null, new AccessControlList("owner", new ArrayList<AccessControlEntry>())));
dataContainer.add(new PersistedNodeData("3", path = QPath.makeChildPath(path, new QName("", "3"), 1, "3"), "4",
1, 1, null, null, new AccessControlList("owner", new ArrayList<AccessControlEntry>())));
dataContainer.add(new PersistedNodeData("2", path = QPath.makeChildPath(path, new QName("", "2"), 1, "2"), "3",
1, 1, null, null, new AccessControlList(null, new ArrayList<AccessControlEntry>())));
dataContainer.add(new PersistedNodeData("1", path = QPath.makeChildPath(path, new QName("", "1"), 1, "1"), "2",
1, 1, null, null, null));
mgr.reloadFilters();
mgr.getItemData("1");
assertEquals(3, dataContainer.getTotalCalls());
dataContainer.clear();