public void Execute(IStep containerStep, ITestContext context) { context.PerformAction(containerStep, _before); containerStep.LeafFor(_leafName).AllSteps().Each(step => { context.RunStep(InnerGrammar, step); }); context.PerformAction(containerStep, _after); }