public void ShouldValidateSingleDescribeWithSingleItAndBeforeEachAndAfterEach()
 {
     var specification = new TestSpecificationWithSingleItWithBeforeEachAndAfterEach();
     var result = specification.BuildExpression();
    
     result.Examples.Should().HaveCount(1);
     var example = result.Examples.First();
     example.Examples.Should().HaveCount(1);
     example.BeforeEach.Should().NotBeNull();
     example.AfterEach.Should().NotBeNull();
 }
        public void ShouldValidateSingleDescribeWithSingleItAndBeforeEachAndAfterEach()
        {
            var specification = new TestSpecificationWithSingleItWithBeforeEachAndAfterEach();
            var result        = specification.BuildExpression();

            result.Examples.Should().HaveCount(1);
            var example = result.Examples.First();

            example.Examples.Should().HaveCount(1);
            example.BeforeEach.Should().NotBeNull();
            example.AfterEach.Should().NotBeNull();
        }