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"))); }
public async Task <IEnumerable <NewTransfer> > GetPropertyHistory(string id) { return(await client.GetPropertyHistory(id)); }