assertEquals(node2DataSize, wsQuotaManager.getNodeDataSize("/testRoot/test2"));
assertEquals(node1Quota, wsQuotaManager.getNodeQuota("/testRoot/test1"));
assertEquals(node2Quota, wsQuotaManager.getNodeQuota("/testRoot/test2"));
restorer.clean();
restorer.restore();
assertEquals(dbQuotaManager.getRepositoryDataSize(), repDataSize);
assertEquals(wsDataSize, wsQuotaManager.getWorkspaceDataSize());
assertEquals(node1DataSize, wsQuotaManager.getNodeDataSize("/testRoot/test1"));
assertEquals(node2DataSize, wsQuotaManager.getNodeDataSize("/testRoot/test2"));