public async Task Should_call_invoker()
        {
            _invoker.Invoke(_action, _request, _requestGraph.CancellationToken).Returns(_response);

            var result = await _messageHandler.SendAsync(_request, _requestGraph.CancellationToken);

            result.ShouldEqual(_response);

            _metrics.TotalRequests.ShouldEqual(1);
            _metrics.GetAverageRequestTime(_action).ShouldBeGreaterThan(TimeSpan.Zero);
        }
        public async Task Should_call_invoker()
        {
            _invoker.Invoke(_descriptor, _request, _requestGraph.CancellationToken).Returns(_response);

            var result = await _messageHandler.SendAsync(_request, _requestGraph.CancellationToken);

            result.ShouldEqual(_response);
        }