public void create_a_curried_grammar_import() { ClassUnderTest.GrammarKey = "StartWith"; ClassUnderTest.CurryAction = new CurryAction() { DefaultValues = "starting:5", Template = "Start with 5" }; CurriedLineGrammar grammar = theGrammarFound.ShouldBeOfType <CurriedLineGrammar>(); grammar.Inner.ShouldBeTheSameAs(fixture["StartWith"]); grammar.Template.ShouldEqual("Start with 5"); // Verifying that the curried grammar has the default values grammar.Execute(new Step()); fixture.TheValueShouldBe().ShouldEqual(5); }