public void SetUp() { _values = new List <CellInformation>(); _provider = null; _rowInformationStub = new RowInformationStub(_values); _parent = new Mock <AutomationProvider>(); }
private TableRowProvider RowWithCells(params string[] values) { var rowInformation = new RowInformationStub(); values.ForEach(x => rowInformation.Cells.Add(new CellInformationStub(x))); return(new TableRowProvider(_parent.Object, rowInformation)); }