Ejemplo n.º 1
0
        public void TryAddStep()
        {
            var obj       = new TestObject();
            var processor = new Processor(new StepConfig[] { });

            processor.AddStep(new StepConfig()
            {
                Step = new TestStep(obj), Condition = new ExecutionCondition()
                {
                    Always = true
                }
            });

            processor.Execute();

            Assert.AreEqual(true, obj.Changed);
        }