StoryTeller.Engine.Sets.SetVerificationGrammar.buildExpectedRows C# (CSharp) Method

buildExpectedRows() private method

private buildExpectedRows ( ITestContext context, IStep step ) : IList
context ITestContext
step IStep
return IList
        private IList<SetRow> buildExpectedRows(ITestContext context, IStep step)
        {
            var list = new List<SetRow>();

            step.LeafFor(_leafName).AllSteps().Each(x =>
            {
                var row = toExpectedRow(x, context);
                list.Add(row);
            });

            return list;
        }