public void IsError_Invoke_IsError_ReturnsFalse() { //------------Setup for test-------------------------- var isError = new IsError(); var cols = new string[2]; cols[0] = ""; //------------Execute Test--------------------------- var result = isError.Invoke(cols); //------------Assert Results------------------------- Assert.IsFalse(result); }
public void GivenSomeString_IsError_Invoke_ReturnsTrue() { //------------Setup for test-------------------------- var isError = new IsError(); var cols = new string[2]; cols[0] = "Eight"; //------------Execute Test--------------------------- var result = isError.Invoke(cols); //------------Assert Results------------------------- Assert.IsTrue(result); }