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

toExpectedRow() private method

private toExpectedRow ( IStep step, ITestContext context ) : StoryTeller.Engine.Sets.SetRow
step IStep
context ITestContext
return StoryTeller.Engine.Sets.SetRow
        private SetRow toExpectedRow(IStep step, ITestContext context)
        {
            var row = new SetRow()
            {
                Step = step
            };

            _comparer.Columns.Each(x =>
            {
                x.ReadExpected(context, step, row);
                if (!row.Values.Has(x.Cell.Key))
                {
                    row.MissingValues = true;
                }
            });

            return row;
        }