public void IsRequiredTest_WithValue() { var isReq = new IsRequired(); var result = isReq.IsValid("This has a value", "Temp"); Assert.IsTrue(result); }
public void IsRequiredTest_Empty() { var isReq = new IsRequired(); var result = isReq.IsValid("", "Temp"); Assert.IsFalse(result); }