Example #1
0
        public void add_comment()
        {
            var section = new Section("fixtureName");
            section.WithComment("some text").ShouldBeTheSameAs(section);

            section.Parts[0].ShouldBeOfType<Comment>().Text.ShouldEqual("some text");
        }
Example #2
0
        public void add_comment()
        {
            var section = new Section("fixtureName");

            section.WithComment("some text").ShouldBeTheSameAs(section);

            section.Parts[0].ShouldBeOfType <Comment>().Text.ShouldEqual("some text");
        }