module Mocha::ClassMethods

def __method_visibility__(method, include_public_methods = true)

Other tags:
    Private: -
def __method_visibility__(method, include_public_methods = true)
  (include_public_methods && public_method_defined?(method) && :public) ||
    (protected_method_defined?(method) && :protected) ||
    (private_method_defined?(method) && :private)
end