assertEquals(1, con.getChildNodesCountCalls.get());
PlainChangesLog chlog = new PlainChangesLogImpl();
chlog.add(ItemState.createAddedState(new PersistedNodeData("id-node" + parentNode.getIdentifier(), QPath
.makeChildPath(parentNode.getQPath(), new InternalQName(null, "node")), parentNode.getIdentifier(), 1, 0,
Constants.NT_UNSTRUCTURED, new InternalQName[0], null)));
cwdm.save(new TransactionChangesLog(chlog));
result = cwdm.getChildNodesCount(parentNode);
assertEquals(1, result);
assertEquals(2, con.getChildNodesCountCalls.get());
}