public void IsStartsWith_HandlesType_ReturnsNotStartWithType() { var startsWith = enDecisionType.IsStartsWith; //------------Setup for test-------------------------- var isStartsWith = new IsStartsWith(); //------------Execute Test--------------------------- //------------Assert Results------------------------- Assert.AreEqual(startsWith, isStartsWith.HandlesType()); }
public void IsStartsWith_Invoke_ReturnsFalse() { //------------Setup for test-------------------------- var startsWith = new IsStartsWith(); string[] cols = new string[2]; cols[0] = "TestData"; cols[1] = "No"; //------------Execute Test--------------------------- bool result = startsWith.Invoke(cols); //------------Assert Results------------------------- Assert.IsFalse(result); }