コード例 #1
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"
            }
                );
        }
コード例 #2
0
ファイル: FixtureTester.cs プロジェクト: aabenoja/Storyteller
        public void use_alias_for_on_grammar_method()
        {
            var fixture = new FixtureWithGrammarAlias();

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