BoxKite.Twitter.Tests.TrendsExtensionsTests.Get_Trend_Locations_Available C# (CSharp) Method

Get_Trend_Locations_Available() private method

private Get_Trend_Locations_Available ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task
        public async Task Get_Trend_Locations_Available()
        {
            // arrange
            session.Returns(await Json.FromFile("data\\trends\\possibletrendplaces.txt"));
            session.ExpectGet("https://api.twitter.com/1.1/trends/available.json");

            var placetrends = await session.GetTrendsAvailableLocations();

            Assert.IsNotNull(placetrends);
            placetrends.Count().ShouldBeEquivalentTo(5);
            placetrends.ToList()[3].WOEID.ShouldBeEquivalentTo(2477058);
        }