WorkspaceEntry newWSEntry = helper.createWorkspaceEntry(DatabaseStructureType.SINGLE, tenantName);
newWSEntry.setName(wsEntry.getName());
newRE.addWorkspace(newWSEntry);
creatorService.createRepository(bch.getBackupId(), newRE, repoToken, creationProps);
// check
ManageableRepository restoredRepository = repositoryService.getRepository(tenantName);
assertNotNull(restoredRepository);