Having() 공개 메소드

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