Having() public méthode

public Having ( string predicate, object value ) : IOrderBy
predicate string
value object
Résultat 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);
        }