CreateExecutableContext() public method

public CreateExecutableContext ( IDescribable describable ) : IExecutableContext
describable IDescribable
return IExecutableContext
Example #1
0
        public void CreateExecutableContext_ShouldCreateExecutableContext()
        {
            ExecutionContext testee = CreateTestee(Mock.Of <IDescribable>());

            var executableContext = testee.CreateExecutableContext(Mock.Of <IDescribable>());

            testee.Executables.Should().NotBeEmpty()
            .And.HaveCount(1)
            .And.Contain(executableContext);
        }