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