module Minitest::Assertions

def refute_respond_to obj, meth, msg = nil

def refute_respond_to obj, meth, msg = nil
  msg = message(msg) { "Expected #{mu_pp(obj)} to not respond to #{meth}" }
  refute obj.respond_to?(meth), msg
end