MapToTableRow() public method

public MapToTableRow ( Gherkin.Ast tableRow ) : TableRow
tableRow Gherkin.Ast
return TableRow
        public void MapToTableRow_NullTableRow_ReturnsNull()
        {
            var mapper = new Mapper();

            TableRow result = mapper.MapToTableRow(null);

            Check.That(result).IsNull();
        }
        public void MapToTableRow_RowWithCellValues_ReturnsRowContainingThoseValues()
        {
            G.TableRow row = this.factory.CreateGherkinTableRow(
                new[]
                {
                    "first cell",
                    "second cell"
                });

            var mapper = new Mapper();

            var result = mapper.MapToTableRow(row);

            Check.That(result.Cells).ContainsExactly("first cell", "second cell");
        }