Ejemplo n.º 1
0
        public void Given_ContextObject_When_NonExistentPathIsSpecified_Then_ShouldNotifySo()
        {
            var obj = new ContextObject(new Container());

            Assert.IsFalse(obj.CanNavigate("X.y.Z"));
        }
Ejemplo n.º 2
0
        public void Given_ContextObject_When_ValidPathIsSpecified_Then_ShouldNotifySo()
        {
            var obj = new ContextObject(new Container());

            Assert.IsTrue(obj.CanNavigate("X.Y.Z"));
        }