Esempio n. 1
0
 public Player SelectById(int playerId)
 {
     if (PlayerToReturn == null)
     {
         return(TestHelper.CreatePlayer());
     }
     return(PlayerToReturn);
 }
Esempio n. 2
0
        public void SetUp()
        {
            _player          = TestHelper.CreatePlayer();
            _result          = TestHelper.CreateResults();
            _playerList      = TestHelper.PlayerList();
            _playerValidator = new PlayerValidator();

            _playerRepository     = new PlayerRepository();
            _playerRepositoryStub = new PlayerRespositoryStub();
            _service = new ResultsService(new PlayerRespositoryStub(), new ResultsRespositoryStub());
        }
Esempio n. 3
0
 public void Delete(int id)
 {
     TestHelper.CreatePlayer();
 }