コード例 #1
0
        public async Task CreateWorkspaceForUserNotExistTest()
        {
            var username = "******";

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

            var workspaceCreated = await _service.CreateWorkspaceForUser(username, new CreateWorkspaceDto());

            Assert.Null(workspaceCreated);
        }