public Having ( string predicate, object value ) : IOrderBy | ||
predicate | string | |
value | object | |
return | IOrderBy |
public void HavingThrowsArgumentExceptionForEmptyPredicate() { var sqlBuilder = new SelectSqlBuilder(SqlCharacters.Empty); var exception = Assert.Throws<ArgumentException>( () => sqlBuilder.Having("", new object())); Assert.Equal(ExceptionMessages.ArgumentNullOrEmpty.FormatWith("predicate"), exception.Message); }