public async Task ShouldRetrievePendingTransaction()
        {
            string receivedMessage = null;
            var    subscription    = new EthNewPendingTransactionSubscription(StreamingClient);

            subscription.SubscriptionDataResponse += delegate(object sender, StreamingEventArgs <string> args)
            {
                receivedMessage = args.Response;
            };

            await subscription.SubscribeAsync(Guid.NewGuid().ToString());

            try
            {
                await Task.Delay(10000);
            }
            catch (TaskCanceledException)
            {
                // swallow, escape hatch
            }

            Assert.NotNull(receivedMessage);
        }
 public override async Task ExecuteAsync(IStreamingClient client)
 {
     var subscription = new EthNewPendingTransactionSubscription(client);
     await subscription.SubscribeAsync(Guid.NewGuid().ToString());
 }