class RSpec::Mocks::AnyInstance::Chain

def constrained_to_any_of?(*constraints)

Other tags:
    Private: -
def constrained_to_any_of?(*constraints)
  constraints.any? do |constraint|
    messages.any? do |message|
      message.first.first == constraint
    end
  end
end