public Execute ( IEnumerable |
||
arguments | IEnumerable |
|
context | ParsingContext | |
Результат |
public void IsBlankShouldReturnTrueIfFirstArgIsNull() { var func = new IsBlank(); var args = FunctionsHelper.CreateArgs(new object[]{null}); var result = func.Execute(args, _context); Assert.IsTrue((bool)result.Result); }
public void IsBlankShouldReturnTrueIfFirstArgIsEmptyString() { var func = new IsBlank(); var args = FunctionsHelper.CreateArgs(string.Empty); var result = func.Execute(args, _context); Assert.IsTrue((bool)result.Result); }