public void Can_be_configured_to_schedule_activity_with_priority() { var activityItem = new ActivityItem(_activityIdentity, _workflow.Object); activityItem.WithPriority(a => 10); var decision = ScheduleDecision(activityItem); Assert.That(decision.TaskPriority.Value, Is.EqualTo(10)); }