Appccelerate.Bootstrapper.Reporting.ExecutableContextTest.CreateBehaviorContext_ShouldCreateBehaviorContext C# (CSharp) Method

CreateBehaviorContext_ShouldCreateBehaviorContext() private method

private CreateBehaviorContext_ShouldCreateBehaviorContext ( ) : void
return void
        public void CreateBehaviorContext_ShouldCreateBehaviorContext()
        {
            ExecutableContext testee = CreateTestee(Mock.Of<IDescribable>());

            var behaviorContext = testee.CreateBehaviorContext(Mock.Of<IDescribable>());

            testee.Behaviors.Should().NotBeEmpty()
                .And.HaveCount(1)
                .And.Contain(behaviorContext);
        }