コード例 #1
0
 public void SetUp()
 {
     _values             = new List <CellInformation>();
     _provider           = null;
     _rowInformationStub = new RowInformationStub(_values);
     _parent             = new Mock <AutomationProvider>();
 }
コード例 #2
0
        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));
        }