Beispiel #1
0
 public RuteberegningService()
 {
     this.byRepository = new ByRepository();
     this.telstarForbindelseRepository = new TelstarForbindelseRepository();
     this.connectionsIntegration       = new ConnectionsIntegration();
     this.konfiguration      = new KonfigurationRepository().Get();
     this.godstypeRepository = new GodstypeRepository();
 }
Beispiel #2
0
        public void ExternalIntegrationsOAShouldDeliverAnyData()
        {
            ConnectionsIntegration ci          = new ConnectionsIntegration();
            Forsendelse            forsendelse = new Forsendelse();

            forsendelse.Godstype         = Enums.GodsType.EXP;
            forsendelse.Vaegt            = 12;
            forsendelse.Fra              = new By();
            forsendelse.Til              = new By();
            forsendelse.PakkeDimensioner = new PakkeDimensioner();
            forsendelse.Rekommanderet    = false;

            var oi = ci.GetOceanicRoutes(forsendelse);

            Assert.IsNotEmpty(oi);
        }