示例#1
0
        public async Task GetWorkspacesByUserNotExistTest()
        {
            var username = "******";

            _userRepo.Setup(repo => repo.UserExists(username)).ReturnsAsync(false);

            var workspaces = await _service.GetWorkspacesByUser(username);

            Assert.Null(workspaces);
        }