Beispiel #1
0
        public void can_resolve_grammars_added_explicitly()
        {
            var fixture = new FixtureWithExplicits();

            fixture.Compile(CellHandling.Basic()).grammars.OfType<StubGrammarModel>().ShouldHaveTheSameElementsAs(
                new StubGrammarModel {key = "a",},
                new StubGrammarModel {key = "b",},
                new StubGrammarModel {key = "c",}
                );
        }
        public void can_resolve_grammars_added_explicitly()
        {
            var fixture = new FixtureWithExplicits();

            fixture.Compile(CellHandling.Basic()).grammars.OfType <StubGrammarModel>().ShouldHaveTheSameElementsAs(
                new StubGrammarModel {
                key = "a",
            },
                new StubGrammarModel {
                key = "b",
            },
                new StubGrammarModel {
                key = "c",
            }
                );
        }