public void ReturnTeamsInOrderOfGoalsScored()
        {
            //arrange
            var matchResults          = MatchResultsFixtures.GetChampionByGoalsScored();
            var mockResultsRepository = new Mock <IMatchResultsRepository>();

            mockResultsRepository.Setup(r => r.GetAll()).Returns(matchResults);
            //act
            var champion = new LeagueTable(mockResultsRepository.Object).GetWinningTeamName();

            //assert
            Assert.AreEqual("Stoke", champion);
        }
        public void ReturnTeamsWithPositions()
        {
            //arrange
            var matchResults          = MatchResultsFixtures.GetChampionByGoalsScored();
            var mockResultsRepository = new Mock <IMatchResultsRepository>();

            mockResultsRepository.Setup(r => r.GetAll()).Returns(matchResults);
            //act
            var standings = new LeagueTable(mockResultsRepository.Object).GetStandings();
            //assert
            var arsenalRank = standings.First(s => s.Team.Equals("Arsenal")).LeaguePosition;

            Assert.AreEqual(3, arsenalRank);
        }