assertEquals(readUserInfo.getUserName(), userInfo.getUserName());
assertEquals("Should be one workspace", 1, readUserInfo.getWorkspaceIds().size());
assertTrue(readUserInfo.getWorkspaceIds().contains(workspaceInfo.getUniqueId()));
// delete the workspace
metaStore.deleteWorkspace(userInfo.getUniqueId(), workspaceInfo.getUniqueId());
// read the user
UserInfo readUserInfo2 = metaStore.readUser(userInfo.getUniqueId());
assertNotNull(readUserInfo2);
assertEquals(readUserInfo2.getUserName(), userInfo.getUserName());