public void The_decorator_forwards_the_executed_child_operations_to_the_decorated_operation(IOperation operation)
        {
            var sut = new TestBehavior().AttachTo(operation);

            sut.Execute();

            Assert.Equal(operation.ExecutedChildOperations, sut.ExecutedChildOperations);
        }
        public void The_decorator_forwards_the_execution_to_the_decorated_operation()
        {
            var operation = new FakeOperation();
            var sut       = new TestBehavior().AttachTo(operation);

            sut.Execute();

            Assert.True(operation.HasExecuted);
        }