public void Arrange() { _repo = new TeamRepository(); _team = new Team(new List <Developer>(), "Blue", 1); _repo.AddTeamToDirectory(_team); _team = new Team(new List <Developer>(), "Red", 2); _repo.AddTeamToDirectory(_team); _team = new Team(new List <Developer>(), "Green", 3); _repo.AddTeamToDirectory(_team); }
public void AddTeamToDirector() { Team team = new Team(); TeamRepository teamRepository = new TeamRepository(); bool wasAdded = teamRepository.AddTeamToDirectory(team); Assert.IsTrue(wasAdded); }