public async Task Get_Mosaic_By_List_Should_Return_MosaicInfo_List() { using (var httpTest = new HttpTest()) { var fakeJson = TestHelper.LoadJsonFileToArray(@"Testdata\\Mosaic\\GetMosaicListInfo.json"); httpTest.RespondWithJson(fakeJson); var list = new List <string> { "0DC67FBE1CAD29E3", "218CCEBA64D13BC8" }; var mosaicInfoList = await _mosaicHttp.GetMosaicListAsync(list); mosaicInfoList.Should().HaveCountGreaterThan(0); } }
public async Task Get_Mosaic_By_List_Should_Return_MosaicInfo_List() { using (var httpTest = new HttpTest()) { var fakeJson = TestHelper.LoadJsonFileToArray(@"Testdata\\Mosaic\\GetMosaicListInfo.json"); httpTest.RespondWithJson(fakeJson); var list = new List <string> { "037C5AF6052A9F7D", "34B40B8AD0CEE3F3" }; var mosaicInfoList = await _mosaicHttp.GetMosaicListAsync(list); mosaicInfoList[0].MetaId.Should().Equals("611B3B866E4BF54EE822308B"); mosaicInfoList[1].MetaId.Should().Equals("611B3B866E4BF54EE822308A"); } }