Ejemplo n.º 1
0
 public Results SelectById(int playerId)
 {
     if (resultToReturn == null)
     {
         return(TestHelper.CreateResults());
     }
     return(resultToReturn);
 }
Ejemplo 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());
        }
Ejemplo n.º 3
0
 public Results SelectById(int playerId)
 {
     return(TestHelper.CreateResults());
 }