class RSpec::Matchers::BuiltIn::Exist::ExistenceTest

def predicates

def predicates
  @predicates ||= [:exist?, :exists?].select { |p| actual.respond_to?(p) && !deprecated(p, actual) }
end