public void read_a_fixture_will_use_the_fixture_name_for_the_title_if_the_fixture_title_is_empty()
        {
            var fixture = new GrammarErrorFixture();


            builder.ReadFixture("GrammarError", fixture);

            builder.Library.FixtureFor("GrammarError").Label.ShouldEqual("GrammarError");
        }
        public void read_a_fixture_will_record_the_Title_of_the_fixture_if_it_is_explicitly_set()
        {
            var fixture = new GrammarErrorFixture
            {
                Title = "the bad grammars"
            };

            builder.ReadFixture("GrammarError", fixture);

            builder.Library.FixtureFor("GrammarError").Label.ShouldEqual("the bad grammars");
        }
        public void read_a_fixture_with_grammar_errors()
        {
            var fixture = new GrammarErrorFixture();

            fixture.Errors.Count().ShouldEqual(2);

            builder.ReadFixture("GrammarError", fixture);

            FixtureGraph fixtureGraph = builder.Library.FixtureFor("GrammarError");

            fixtureGraph.AllErrors().Count().ShouldEqual(2);

            fixtureGraph.AllErrors().Each(x => x.Node.ShouldEqual(fixtureGraph));
        }
        public void read_a_fixture_with_grammar_errors()
        {
            var fixture = new GrammarErrorFixture();
            fixture.Errors.Count().ShouldEqual(2);

            builder.ReadFixture("GrammarError", fixture);

            FixtureGraph fixtureGraph = builder.Library.FixtureFor("GrammarError");
            fixtureGraph.AllErrors().Count().ShouldEqual(2);

            fixtureGraph.AllErrors().Each(x => x.Node.ShouldEqual(fixtureGraph));
        }
        public void read_a_fixture_will_use_the_fixture_name_for_the_title_if_the_fixture_title_is_empty()
        {
            var fixture = new GrammarErrorFixture();

            builder.ReadFixture("GrammarError", fixture);

            builder.Library.FixtureFor("GrammarError").Label.ShouldEqual("GrammarError");
        }
        public void read_a_fixture_will_record_the_Title_of_the_fixture_if_it_is_explicitly_set()
        {
            var fixture = new GrammarErrorFixture
            {
                Title = "the bad grammars"
            };

            builder.ReadFixture("GrammarError", fixture);

            builder.Library.FixtureFor("GrammarError").Label.ShouldEqual("the bad grammars");
        }