public void builds_sentence() { var grammar = new TestActionGrammar(); var sentence = grammar.ToStructure(new FixtureLibrary()).ShouldBeOfType <Sentence>(); sentence.ShouldEqual(new Sentence("Increment by {number}", new[] { Cell.For <int>("number") })); }