public void use_alias_for_on_grammar_method()
        {
            var fixture = new FixtureWithGrammarAlias();

            fixture.Compile(CellHandling.Basic()).grammars.OfType <StubGrammarModel>().ShouldHaveTheSameElementsAs(
                new StubGrammarModel {
                key = "GoAlias"
            }
                );
        }
Example #2
0
        public void use_alias_for_on_grammar_method()
        {
            var fixture = new FixtureWithGrammarAlias();

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