Example #1
0
        public void does_not_write_a_comment_if_the_section_is_latched()
        {
            theParserShouldBeLatchedByMissingFixture();

            var comment = new Comment();

            parser.CallOn <ITestVisitor>(x => x.WriteComment(comment));

            stream.AssertWasNotCalled(x => x.Comment(comment));
        }