public virtual void TestGetRow()
{
server.setResponseBody("../../../TestSDK/resources/getRowByID.json");
//IEnumerable<ObjectInclusion> test = new ObjectInclusion[]{ObjectInclusion.TEMPLATES,
// ObjectInclusion.DISCUSSIONS, ObjectInclusion.DATA, ObjectInclusion.COLUMNS,
// ObjectInclusion.ATTACHMENTS};
Row row = rowResourcesImpl.GetRow(1234L, new List <ObjectInclusion>((ObjectInclusion[])Enum.
GetValues(typeof(ObjectInclusion))));
Assert.True(row.Cells.Count == 1);
Assert.AreEqual("http://domain.com", row.Cells[0].Link.Url);
Assert.AreEqual(LinkType.URL, row.Cells[0].Link.Type);
Assert.Null(row.Cells[0].Link.SheetId);
Assert.Null(row.Cells[0].Link.ColumnId);
Assert.Null(row.Cells[0].Link.RowId);
Assert.True(row.Columns.Count == 2);
Assert.True(row.AccessLevel == AccessLevel.OWNER);
server.setResponseBody("../../../TestSDK/resources/getCell.json");
// Cell can contain a boolean or other type of object
row = rowResourcesImpl.GetRow(6089772474099588L, new List <ObjectInclusion>((ObjectInclusion[])Enum.
GetValues(typeof(ObjectInclusion))));
Assert.AreNotEqual(row.Cells[7].Value, "true");
Assert.AreEqual(row.Cells[7].Value, true);
}