public void compile_just_returns_itself()
 {
     var grammar = new MissingGrammar("Bad!");
     grammar.As<IGrammar>().Compile(new Fixture(), null)
         .ShouldBeTheSameAs(grammar);
 }
 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"));
 }