public void IsValidOperator_InvalidOperator_ReturnFalse(string value) { IValidator sut = new OperatorValidator(); bool isValid = sut.IsValid <string>(value); Assert.False(isValid); }
public void IsValidOperator_IfNullOperator_ThrowException(string value) { IValidator sut = new OperatorValidator(); var ex = Assert.Throws <ArgumentNullException>(() => sut.IsValid(value)); }