UpdateCells() private method

private UpdateCells ( long rowId, IList cells ) : IList
rowId long
cells IList
return IList
Example #1
0
        public virtual void TestUpdateCells()
        {
            server.setResponseBody("../../../TestSDK/resources/updateCell.json");
            IList <Cell> cells = new List <Cell>();
            Cell         cell  = new Cell();

            cell.ColumnId = 8764071660021636L;
            cell.Value    = "Some New Text";
            cells.Add(cell);
            cell.ColumnId = 2110316914993028L;
            cell.Value    = "Started";
            cell.Strict   = false;
            cells.Add(cell);

            IList <Cell> cellResult = rowResourcesImpl.UpdateCells(1234L, cells);

            Assert.True(cellResult.Count == cells.Count);
            Assert.AreEqual("test", "test");
            Assert.True(8764071660021636L == cellResult[0].ColumnId);
        }