Example #1
0
        public void Ex2a_FindNodeSuccess()
        {
            // Arrange
            MIBTree tree = new MIBTree();

            // Assert
            Assert.AreEqual("1.3.6.1", tree.FindNode("1.3.6.1").oid);
            Assert.AreEqual("internet", tree.FindNode("1.3.6.1").name);
        }
Example #2
0
        public void Ex2a_FindNodeFail()
        {
            // Arrange
            MIBTree tree = new MIBTree();

            // Assert
            Assert.AreEqual(null, tree.FindNode("1.3.6.2"));
        }