protected override Task <HttpResponseMessage> SendAsync(HttpRequestMessage request, CancellationToken cancellationToken) { BlockNumberRequests.Add(request); return(Task.FromResult(ResponseQueue.Dequeue())); }
public override Task <BlockResult> GetBlockByNumber(string hexBlockNumber) { BlockNumberRequests.Add(hexBlockNumber); return(Task.FromResult(ResponseQueue.Dequeue())); }