public override void Observe()
 {
     TestCacheRepository.ClearAll();
     _ividRequest = HandleRequest.GetHpiStandardQueryRequest(_dataProvider.GetRequest<IAmIvidStandardRequest>());
     _retriever = IvidDataRetriever.Start(_logCommand, _log).ThenWithApi(_ividRequest, _dataProvider, out _response);
     var transformer = new TransformIvidResponse(_response);
     transformer.Transform();
 }
        public static TransformIvidResponse ForIvid(HpiStandardQueryResponse response)
        {
            var transformer = new TransformIvidResponse(response);

            if (transformer.Continue)
            {
                transformer.Transform();
            }
            return transformer;
        }
        public void TransformResponse(ICollection<IPointToLaceProvider> response)
        {
            var transformer = new TransformIvidResponse(_ividResponse);

            if (transformer.Continue)
            {
                transformer.Transform();
            }

            transformer.Result.HasBeenHandled();
            response.Add(transformer.Result);
        }
        public void TransformResponse(ICollection<IPointToLaceProvider> response)
        {
            var transformer = new TransformIvidResponse(_response);

            if (transformer.Continue)
            {
                transformer.Transform();
                transformer.SetStatusMessages(_request);
            }

            _logCommand.LogTransformation(transformer.Result, null);

            transformer.Result.HasBeenHandled();
            response.Add(transformer.Result);
        }
        public ICollection<IPointToLaceProvider> WithIvidResponseAndFinancedInterestVin()
        {
            var response = new Collection<IPointToLaceProvider>();

            var ividResponse = new SourceResponseBuilder().ForIvidWithFinancedInterestVin();
            var transformer = new TransformIvidResponse(ividResponse);

            if (transformer.Continue)
            {
                transformer.Transform();
            }

            transformer.Result.HasBeenHandled();
            response.Add(transformer.Result);

            return response;
        }
 public override void Observe()
 {
     _transfomer = new TransformIvidResponse(_ividWebServiceResponse);
     _transfomer.Transform();
 }