Esempio n. 1
0
        public void Test_From_ExternalEUtranCellFDDZte()
        {
            var external = new ExternalEUtranCellFDDZte
            {
                eNodeB_Id   = 12345,
                eNBId       = 21,
                cellLocalId = 5,
                pci         = 223,
                userLabel   = "wer"
            };
            var item = external.MapTo <NeighborCellMongo>();

            Assert.AreEqual(item.CellId, 12345);
            item.NeighborCellId.ShouldBe(21);
            Assert.AreEqual(item.NeighborSectorId, 5);
            Assert.AreEqual(item.NeighborPci, 223);
            item.NeighborCellName.ShouldBe("wer");
        }
Esempio n. 2
0
 public void Test_From_ExternalEUtranCellFDDZte()
 {
     var external = new ExternalEUtranCellFDDZte
     {
         eNodeB_Id = 12345,
         eNBId = 21,
         cellLocalId = 5,
         pci = 223,
         userLabel = "wer"
     };
     var item = external.MapTo<NeighborCellMongo>();
     Assert.AreEqual(item.CellId, 12345);
     item.NeighborCellId.ShouldBe(21);
     Assert.AreEqual(item.NeighborSectorId, 5);
     Assert.AreEqual(item.NeighborPci, 223);
     item.NeighborCellName.ShouldBe("wer");
 }