Пример #1
0
        public void Does_not_schedule_activity_when_when_func_is_evaluated_to_false()
        {
            var activityItem = new ActivityItem(_activityIdentity, _workflow.Object);

            activityItem.When(a => false);

            var decisions = activityItem.ScheduleDecisions();

            Assert.That(decisions, Is.Empty);
        }