public void FindRecordsTO_CanAdd_SearchTypeWithData_ReturnTrue() { //------------Setup for test-------------------------- var findRecordsTO = new FindRecordsTO { SearchType = "Contains" }; //------------Execute Test--------------------------- Assert.IsTrue(findRecordsTO.CanAdd()); //------------Assert Results------------------------- }
public void FindRecordsTO_CanAdd_SearchTypeEmpty_ReturnFalse() { //------------Setup for test-------------------------- var findRecordsTO = new FindRecordsTO { SearchType = string.Empty }; //------------Execute Test--------------------------- Assert.IsFalse(findRecordsTO.CanAdd()); //------------Assert Results------------------------- }