Exemple #1
0
        public void Nodes_Is_Cycled_Loop_Test3()
        {
            var command  = new Command();
            var command2 = new CommandWithThisKeyWord();

            command.DecoratedHandler = command2;

            Assert.Throws <Exception>(delegate { command.Nodes().ToList(); });
        }
Exemple #2
0
        public void Nodes_Is_Cycled_Loop_Test2()
        {
            var command3 = new CommandWithThisKeyWord();

            Assert.Throws <Exception>(delegate { command3.Nodes().ToList(); });
        }