public void TestMissingExecute ()
		{
			ISequenceCommand command = new SequenceCommandWithoutExecute ();
			TestDelegate testDelegate = delegate()
			{
				command.Execute();
			};
			SequencerException ex = Assert.Throws<SequencerException> (testDelegate);
			Assert.That (ex.type == SequencerExceptionType.EXECUTE_OVERRIDE);
		}
Beispiel #2
0
        public void TestMissingExecute()
        {
            ISequenceCommand command      = new SequenceCommandWithoutExecute();
            TestDelegate     testDelegate = delegate()
            {
                command.Execute();
            };
            SequencerException ex = Assert.Throws <SequencerException> (testDelegate);

            Assert.That(ex.type == SequencerExceptionType.EXECUTE_OVERRIDE);
        }