PicklesDoc.Pickles.ObjectModel.Mapper.MapToString C# (CSharp) Method

MapToString() public method

public MapToString ( Gherkin.Ast cell ) : string
cell Gherkin.Ast
return string
        public string MapToString(G.TableCell cell)
        {
            return cell?.Value;
        }

Usage Example

        public void MapToStringTableCell_NullTableCell_ReturnsNull()
        {
            var mapper = new Mapper();

            string result = mapper.MapToString((G.TableCell)null);

            Check.That(result).IsNull();
        }