public void DataSplitDTO_CanRemove_WithNoInputVarAndNoAt_ReturnTrue() { //------------Setup for test-------------------------- //------------Execute Test--------------------------- var dataSplitDTO = new DataSplitDTO(string.Empty, null, null, 1); //------------Assert Results------------------------- Assert.IsTrue(dataSplitDTO.CanRemove()); }
public void DataSplitDTO_CanRemove_WithNewLineInputTypeAndVar_ReturnFalse() { //------------Setup for test-------------------------- //------------Execute Test--------------------------- var dataSplitDTO = new DataSplitDTO("s", "NewLine", null, 1); //------------Assert Results------------------------- Assert.IsFalse(dataSplitDTO.CanRemove()); }
public void DataSplitDTO_CanRemove_WithNoInputVarButValueForAt_ReturnFalse() { //------------Setup for test-------------------------- //------------Execute Test--------------------------- var dataSplitDTO = new DataSplitDTO(string.Empty, null, "|", 1); //------------Assert Results------------------------- Assert.IsFalse(dataSplitDTO.CanRemove()); }