public void can_resolve_grammars_created_by_a_public_method() { var fixture = new FixtureWithProgrammaticGrammars(); fixture.Compile(CellHandling.Basic()).grammars.OfType<StubGrammarModel>().ShouldHaveTheSameElementsAs( new StubGrammarModel {key = "foo",}, new StubGrammarModel {key = "bar",}, new StubGrammarModel {key = "baz",} ); }
public void can_resolve_grammars_created_by_a_public_method() { var fixture = new FixtureWithProgrammaticGrammars(); fixture.Compile(CellHandling.Basic()).grammars.OfType <StubGrammarModel>().ShouldHaveTheSameElementsAs( new StubGrammarModel { key = "foo", }, new StubGrammarModel { key = "bar", }, new StubGrammarModel { key = "baz", } ); }