public async Task Parse_ErrorResponse_ReturnsFailure()
        {
            var responseResult = Result.Fail <HttpResponseMessage>("");

            var result = await _httpResponseMessageJsonParser.Parse <object>(responseResult);

            result.IsFailed.Should().BeTrue();
        }
        private async Task <Result <AgentCollection> > Fetch(string query)
        {
            var result = await _jsonApiGetRequest.Execute(HttpClientNames.Funda, _apiKey, query);

            return(await _httpResponseMessageJsonParser.Parse <AgentCollection>(result));
        }