Exemplo n.º 1
0
        public void ShouldDecorateIfNecessary()
        {
            this.SetupResultFactory();
            this.SetupDecoratorApplicatorPipelineWithTwoDecoratorApplicators();

            IResult decorated = this.testee.ExecuteITestResult().Single();

            decorated.As <OuterDecorator>().Result.As <InnerDecorator>().Should().NotBeNull();
        }