Пример #1
0
        public void GivenTeamExists(string teamName)
        {
            var team = TestDbAdapter.CreateTeamWithCaptain(teamName, teamName, "Captain");

            _teamId    = new TeamId(team.Id);
            _captainId = new PlayerId(team.CaptainId);
        }
Пример #2
0
 public void GivenTeamExists(string name)
 {
     _team   = TestDbAdapter.CreateTeamWithCaptain(name, name, "Captain");
     _player = _team.Captain;
     _team.Players.Add(_player);
 }
        public void GivenTeamExists(string name)
        {
            var team = TestDbAdapter.CreateTeamWithCaptain(name, name, "Captain");

            _teamId = new TeamId(team.Id);
        }