Inheritance: GrammarModel, IGrammar, IModelWithCells
 public void create_plan_creates_an_invalid_grammar_step()
 {
     var grammar = new MissingGrammar("missing");
     grammar.As<IGrammar>().CreatePlan(new Step("missing"){id = "3"}, TestingContext.Library)
         .ShouldBe(new InvalidGrammarStep(new StepValues("3"), "Grammar 'missing' is not implemented"));
 }
 public void compile_just_returns_itself()
 {
     var grammar = new MissingGrammar("Bad!");
     grammar.As<IGrammar>().Compile(new Fixture(), null)
         .ShouldBeTheSameAs(grammar);
 }
        public void create_an_Missing_grammar_adds_Missing_to_itself()
        {
            var grammar = new MissingGrammar("NotHere");

            grammar.errors.Single().error.ShouldBe("Grammar 'NotHere' is not implemented");
        }