def do_not_expect_views(*queries)
      if queries.nil? || queries.any?(&:nil?)
        raise ArgumentError, 'Query cannot be nil'
      end

      if queries.map{|query| view_exists?(query)}.any?
        raise ViewFoundError,
              "Some views matched #{Wait.parse_query_list(queries)}"
      end

      true
    end
def do_not_expect_views(*queries)
      if queries.nil? || queries.any?(&:nil?)
        raise ArgumentError, 'Query cannot be nil'
      end

      if queries.map{|query| view_exists?(query)}.any?
        raise ViewFoundError,
              "Some views matched #{Wait.parse_query_list(queries)}"
      end

      true
    end
Expect `queries` to each match no views. Raise an exception if they do.

 @param [String, Hash, Calabash::Query] queries List of queries or a
  query.
 @raise [ArgumentError] If given an invalid list of queries
 @raise [ViewFoundError] If one of `queries` matched any views