public when_transforming_lighstone_response()
 {
     _request = new[] {new LicensePlateNumberLightstoneOnlyRequest()};
     _carInformationRequest = LaceRequestCarInformationRequestBuilder.ForCarId_107483_ButNoVin();
     _retrieveValuationFromMetrics =
         LighstoneVehicleInformationBuilder.ForValuationFromMetrics(_carInformationRequest);
     _retrieveCarInformation = LighstoneVehicleInformationBuilder.ForCarInformation("SB1KV58E40F039277");
 }
 public static void OfBaseRetrievalMetric(IHaveCarInformation request, IReadOnlyRepository repository, out IRetrieveValuationFromMetrics metrics)
 {
     metrics =
        new BaseRetrievalMetric(request, new Valuation(),
            repository)
            .SetupDataSources()
            .GenerateData()
            .BuildValuation();
 }
        public TransformLightstoneResponse(IRetrieveValuationFromMetrics metricResponse,
            IRetrieveCarInformation carInformation)
        {
            Continue = metricResponse != null && carInformation != null && carInformation.CarInformationDto != null && carInformation.IsSatisfied && metricResponse.IsSatisfied;
            Result = Continue ? null : LightstoneAutoResponse.Empty();

            _metricResponse = metricResponse;
            _carInformation = carInformation;
        }