public async Task PropertyHistoryWillInvokeANewURL()
        {
            mockBlockService.Setup(m => m.InvokeGet(It.IsAny <String>()))
            .ReturnsAsync("[]");

            await clientWithMock.GetPropertyHistory("Property A");

            mockBlockService.Verify(m => m.InvokeGet(HyperledgerConsts.PropertyPackageUrl("Property%20A")));
        }
Beispiel #2
0
 public async Task <IEnumerable <NewTransfer> > GetPropertyHistory(string id)
 {
     return(await client.GetPropertyHistory(id));
 }