/// <summary>
        /// Asserts that an element does not exist
        /// </summary>
        public static AndConnector <QueryWrapper> ShouldNotExist(this QueryWrapper query)
        {
            if (query.Any())
            {
                var message = string.Format("The selector matched {0} element(s) in the document.", query.Count());
                throw new AssertException(message);
            }

            return(new AndConnector <QueryWrapper>(query));
        }