Appccelerate.Bootstrapper.Execution.ExecutorTest.Execute_ShouldCreateExecutableContextForExecutables C# (CSharp) Method

Execute_ShouldCreateExecutableContextForExecutables() private method

private Execute_ShouldCreateExecutableContextForExecutables ( IExecutor testee ) : void
testee IExecutor
return void
        public void Execute_ShouldCreateExecutableContextForExecutables(IExecutor<IExtension> testee)
        {
            this.SetupSyntaxReturnsExecutables();

            testee.Execute(this.syntax.Object, this.extensions, this.executionContext.Object);

            this.executionContext.Verify(e => e.CreateExecutableContext(this.firstExecutable.Object));
            this.executionContext.Verify(e => e.CreateExecutableContext(this.secondExecutable.Object));
        }