Example #1
0
        public MessageProcessor_End2End_NoDep_ClassC_CloudToDeviceMessage_SizeLimit_Tests()
        {
            this.serverConfiguration = new NetworkServerConfiguration()
            {
                GatewayID = ServerGatewayID,
            };

            this.loRaRegion                   = RegionManager.EU868;
            this.PacketForwarder              = new TestPacketForwarder();
            this.deviceApi                    = new Mock <LoRaDeviceAPIServiceBase>(MockBehavior.Strict);
            this.deviceClient                 = new Mock <ILoRaDeviceClient>(MockBehavior.Strict);
            this.loRaDeviceFactory            = new TestLoRaDeviceFactory(this.deviceClient.Object);
            this.loRaDeviceRegistry           = new LoRaDeviceRegistry(this.serverConfiguration, new MemoryCache(new MemoryCacheOptions()), this.deviceApi.Object, this.loRaDeviceFactory);
            this.frameCounterStrategyProvider = new LoRaDeviceFrameCounterUpdateStrategyProvider(this.serverConfiguration.GatewayID, this.deviceApi.Object);
        }
 public MessageProcessor_End2End_NoDep_Parallel_Processing_Tests()
 {
     this.packetForwarder = new TestPacketForwarder();
 }