public RatingEngineRate()
 {
     this.logger           = new FakeLogger();
     this.policySource     = new FakePolicySource();
     this.policySerializer = new JsonPolicySerializer();
     this.raterFactory     = new RaterFactory(this.logger);
     this.engine           = new RatingEngine(this.logger, this.policySource, this.policySerializer, this.raterFactory);
 }
예제 #2
0
 public RatingEngineRate()
 {
     _logger           = new FakeLogger();
     _policySource     = new FakePolicySource();
     _policySerializer = new JsonPolicySerializer();
     _raterFactory     = new RaterFactory(_logger);
     _engine           = new RatingEngine(_logger, _policySource, _policySerializer, _raterFactory);
 }