public void Constructor_throws_InvalidArgumentException_when_element_name_is_not_ColData() { var xml = ColDescXML(); xml.Name = "RowData"; var column = new ReportColumnDescription(xml); }
public void Titles() { var col = new ReportColumnDescription(ColDescXML()); Assert.AreEqual("The Second Title", col.Titles.ElementAt(1)); }
public void ColumnType() { var col = new ReportColumnDescription(ColDescXML()); Assert.AreEqual("Account", col.ColumnType); }
public void Id() { var col = new ReportColumnDescription(ColDescXML()); Assert.AreEqual(1, col.Id); }
public void DataType() { var col = new ReportColumnDescription(ColDescXML()); Assert.AreEqual("string", col.DataType); }