# File lib/mocha/class_method.rb, line 76
76:     def method_exists?(method)
77:       existing_methods = []
78:       existing_methods += stubbee.public_methods(true) - stubbee.superclass.public_methods(true)
79:       existing_methods += stubbee.protected_methods(true) - stubbee.superclass.protected_methods(true)
80:       existing_methods += stubbee.private_methods(true) - stubbee.superclass.private_methods(true)
81:       existing_methods.any? { |m| m.to_s == method.to_s }
82:     end