public void CreateReadAndDeleteWithAddTeamProjectTest() { _usersRepository.Create(_testUser); User createdUser = _usersRepository.ReadOne(new GetUserByIdSpecification(_testUser.Id)); _testProject.ManagerId = createdUser.Id; _testProject.CreatedById = createdUser.Id; _projectsRepository.Create(_testProject); _projectsRepository.AddMember(_testProject.Id, createdUser.Id, ParticipationType.Creator); _teamsRepository.Create(_testTeam); _teamsRepository.AddMember(_testTeam.Id, createdUser.Id); _teamsRepository.UpdateTeamLeader(_testTeam.Id, createdUser.Id); _projectsRepository.AddTeam(_testProject.Id, _testTeam.Id); Project result = _projectsRepository.ReadOne(new GetProjectByIdSpecification(_testProject.Id)); Assert.IsTrue(result.Members.Count > 0); //_projectsRepository.Delete(result); //_usersRepository.Delete(createdUser); }