public async Task SendBatch()
        {
            var msgs = new EventData[] { new EventData(Guid.NewGuid().ToByteArray()), new EventData(Guid.NewGuid().ToByteArray()), new EventData(Guid.NewGuid().ToByteArray()), new EventData(Guid.NewGuid().ToByteArray()) };

            var bq = new HubClient(EventHubClient.CreateFromConnectionString(connection, this.name));
            await bq.Send(msgs);
        }
 public void Client()
 {
     var client = EventHubClient.CreateFromConnectionString(connection, "test");
     var btc = new HubClient(client);
     Assert.AreEqual(client, btc.Client);
 }