public void GetPlayerDetailsbyFreeAgent()
        {
            var client   = new FantasyNHLClient();
            var response = client.PlayerServices.GetPlayerDetailsbyFreeAgent();

            Assert.IsTrue(response.Count == 1905);
        }
        public void GetAreGamesInProgress()
        {
            var client   = new FantasyNHLClient();
            var response = client.TeamServices.GetAllTeams();

            Assert.IsTrue(response.Count == 35);
        }
        public void GetCurrentSeason()
        {
            var client   = new FantasyNHLClient();
            var response = client.SeasonService.GetCurrentSeason();

            Assert.IsTrue(response.Count == 1);
        }
        public void GetGamseBySeason()
        {
            var client   = new FantasyNHLClient();
            var response = client.GameServices.GetGameBySeason("2017");

            Assert.IsTrue(response.Count == 1232);
        }
        public void GetStadiums()
        {
            var client   = new FantasyNHLClient();
            var response = client.StadiumServices.getStadiums();

            Assert.IsTrue(response.Count == 31);
        }
        //Teams (Active)
        public void GetTeams()
        {
            var client   = new FantasyNHLClient();
            var response = client.TeamServices.GetTeams();

            Assert.IsTrue(response.Count == 31);
        }
        public void GetNewsbyPlayer()
        {
            var client   = new FantasyNHLClient();
            var response = client.NewsService.GetNewsbyPlayer("30000446");

            Assert.IsTrue(response.Count == 4);
        }
        public void GetPlayerDetailsbyPlayer()
        {
            var client   = new FantasyNHLClient();
            var response = client.PlayerServices.GetPlayerDetailsbyPlayer("30000007");

            Assert.IsTrue(response.Count == 1);
        }
        public void GetTeamSeasonStats()
        {
            var client   = new FantasyNHLClient();
            var response = client.TeamSeasonService.GetTeamSeasonStats("2017");

            Assert.IsTrue(response.Count == 30);
        }
        public void GetTeamStatsAllowedbyPosition()
        {
            var client   = new FantasyNHLClient();
            var response = client.TeamSeasonService.GetTeamStatsAllowedbyPosition("2017");

            Assert.IsTrue(response.Count == 150);
        }
        public void GetStandingsSeason()
        {
            var client   = new FantasyNHLClient();
            var response = client.StandingService.GetStandingsSeason("2017");

            Assert.IsTrue(response.Count == 30);
        }
        public void GetPlayersbyTeam()
        {
            var client   = new FantasyNHLClient();
            var response = client.PlayerServices.GetPlayersbyTeam("BOS");

            Assert.IsTrue(response.Count == 26);
        }
        public void GetPlayersDetail()
        {
            var client   = new FantasyNHLClient();
            var response = client.PlayerServices.GetPlayersDetail();

            Assert.IsTrue(response.Count == 797);
        }
        public void GetNews()
        {
            var client   = new FantasyNHLClient();
            var response = client.NewsService.GetNews();

            Assert.IsTrue(response.Count == 31);
        }
        public void GetGameByDate()
        {
            var      client   = new FantasyNHLClient();
            DateTime myDate   = Convert.ToDateTime("2017-Dec-31");
            var      response = client.GameServices.GetGameByDate(myDate);

            Assert.IsTrue(response.Count == 3);
        }
        public void GetNewsbyDate()
        {
            var      client   = new FantasyNHLClient();
            DateTime myDate   = Convert.ToDateTime("2017-OCT-01");
            var      response = client.NewsService.GetNewsbyDate(myDate);

            Assert.IsTrue(response.Count == 5);
        }
        public void GetDFSSlatesbyDate()
        {
            var      client   = new FantasyNHLClient();
            DateTime myDate   = Convert.ToDateTime("2017-OCT-13");
            var      response = client.DFSSlatesService.GetDFSSlatesbyDate(myDate);

            Assert.IsTrue(response.Count == 7);
        }
        public void GetProjectedPlayerGameStatsbyDateAndPlayer()
        {
            var      client   = new FantasyNHLClient();
            DateTime myDate   = Convert.ToDateTime("2017-OCT-01");
            var      response = client.ProjectionServices.GetProjectionByDateAndPlayer(myDate, "30000378");

            Assert.IsTrue(response.Count == 1);
        }
        public void GetTeamGameStatsbyDate()
        {
            var      client   = new FantasyNHLClient();
            DateTime myDate   = Convert.ToDateTime("2017-OCT-01");
            var      response = client.PlayerGameService.GetTeamGameStatsbyDate(myDate);

            Assert.IsTrue(response.Count == 6);
        }
        public void GetProjectedPlayerGameStatsbyDate()
        {
            var      client   = new FantasyNHLClient();
            DateTime myDate   = Convert.ToDateTime("2017-Nov-28");
            var      response = client.ProjectionServices.GetProjectionByDate(myDate);

            Assert.IsTrue(response.Count == 195);
        }
        public void CheckIfGameInProgress_Return_False()
        {
            var client = new FantasyNHLClient();

            var response = client.GameServices.IsGameInProgress;

            Assert.IsFalse(response);
        }
        public void GetBoxScoresByDate()
        {
            var      client   = new FantasyNHLClient();
            DateTime myDate   = Convert.ToDateTime("2017-NOV-22");
            var      response = client.BoxScoreServices.GetBoxScoresByDate(myDate);

            Assert.IsTrue(response == null);
        }
        public void BoxScoresbyDateDelta()
        {
            var      client   = new FantasyNHLClient();
            DateTime myDate   = Convert.ToDateTime("2017-OCT-31");
            var      response = client.BoxScoreServices.BoxScoresbyDateDelta(myDate, 1);

            Assert.IsTrue(response.Count == 3);
        }