public async Task Should_Send_Batch_Request()
        {
            var batch   = new BatchOf <Ping, Pong>(new Ping(), new Ping());
            var results = await _mediator.SendAsync(batch);

            Assert.AreEqual(2, results.Batch.Length);
            CollectionAssert.AllItemsAreInstancesOfType(results.Batch, typeof(Pong));
        }
 public void SetUp()
 {
     _sut = new BatchOf();
 }
 public void SetUp()
 {
     _sut = new BatchOf();
 }