def do_not_expect_view(query)
      if query.nil?
        raise ArgumentError, 'Query cannot be nil'
      end

      if view_exists?(query)
        raise ViewFoundError, "A view matched #{Wait.parse_query_list(query)}"
      end

      true
    end
def do_not_expect_view(query)
      if query.nil?
        raise ArgumentError, 'Query cannot be nil'
      end

      if view_exists?(query)
        raise ViewFoundError, "A view matched #{Wait.parse_query_list(query)}"
      end

      true
    end
Expect `query` to match no views. Raise an exception if it does.

 @param [String, Hash, Calabash::Query] query Query to match a view
 @raise [ArgumentError] If given an invalid `query`
 @raise [ViewFoundError] If `query` matches any views.