public void Can_ExecuteReaderMapTask([Values(0, 1, 2, 3, 4, 5)] int pageIndex, [Values(10, 20)] int pageSize) { var orderDetailsTask = NorthwindAdoRepository .ExecuteInstanceAsync <OrderDetail>(TrimMapper, SQL_ORDER_DETAIL_SELECT, pageIndex, pageSize); orderDetailsTask.Wait(); orderDetailsTask.IsCompleted.Should().Be.True(); orderDetailsTask.Result.Count.Should().Be.GreaterThan(0); }