public async Task GetGlobalDataAsync_Default_Success()
        {
            var globalData = await _client.GetGlobalDataAsync();

            Assert.IsNotNull(globalData);
            Assert.Greater(globalData.MarketCapUsd, 0);
        }
示例#2
0
        public async Task <JsonResult> GetGlobalDataAsync_Default_Success()
        {
            GlobalDataEntity globalData = await _client.GetGlobalDataAsync();

            //Assert.IsNotNull(globalData);
            //Assert.Greater(globalData.MarketCapUsd, 0);
            return(Json(globalData, JsonRequestBehavior.AllowGet));
        }