public void Returns_success_on_child_failure()
            {
                var returnSuccess = new ReturnSuccess();

                returnSuccess.AddChild(A.TaskStub().WithUpdateStatus(TaskStatus.Failure).Build());

                Assert.AreEqual(TaskStatus.Success, returnSuccess.Update());
            }
            public void Returns_continue_on_child_continue()
            {
                var returnSuccess = new ReturnSuccess();

                returnSuccess.AddChild(A.TaskStub().WithUpdateStatus(TaskStatus.Continue).Build());

                Assert.AreEqual(TaskStatus.Continue, returnSuccess.Update());
            }