public async Task Should_Return_The_Generation_Hash() { using (var httpTest = new HttpTest()) { var fakeJson = TestHelper.LoadJsonFileToObject(@"Testdata\\Block\\BlockByHeightGenerationHash.json"); httpTest.RespondWithJson(fakeJson); var generationHash = await _blockchainHttp.GetGenerationHash(); generationHash.Should().BeEquivalentTo("B750FC8ADD9FAB8C71F0BB90B6409C66946844F07C5CADB51F27A9FAF219BFC7"); } }
public async Task Should_Return_The_Generation_Hash() { using (var httpTest = new HttpTest()) { var fakeJson = TestHelper.LoadJsonFileToObject(@"Testdata\\Block\\BlockByHeightGenerationHash.json"); httpTest.RespondWithJson(fakeJson); var generationHash = await _blockchainHttp.GetGenerationHash(); generationHash.Should().BeEquivalentTo("7C175E628183275364959BEA811897111C5AFCA014DD991FC0D87AD7C16BB41F"); } }