public void DataSplitDTO_IsEmpty_PropertiesAreNotEmpty_False() { //------------Setup for test-------------------------- var dto = new DataSplitDTO { OutputVariable = "xxx" }; //------------Execute Test--------------------------- var actual = dto.IsEmpty(); //------------Assert Results------------------------- Assert.IsFalse(actual); }
public void DataSplitDTO_ClearRow_PropertiesAreEmpty() { //------------Setup for test-------------------------- var dto = new DataSplitDTO { OutputVariable = "xxx", SplitType = DataSplitDTO.SplitTypeNone, Include = true, EscapeChar = "'" }; Assert.IsFalse(dto.IsEmpty()); //------------Execute Test--------------------------- dto.ClearRow(); //------------Assert Results------------------------- Assert.IsTrue(dto.IsEmpty()); }
void Verify_IsEmpty(string splitType) { //------------Setup for test-------------------------- var dto = new DataSplitDTO { SplitType = splitType }; //------------Execute Test--------------------------- var actual = dto.IsEmpty(); //------------Assert Results------------------------- Assert.IsTrue(actual); }