module Minitest::Assertions

def assert_kind_of cls, obj, msg = nil

def assert_kind_of cls, obj, msg = nil
  msg = message(msg) {
    "Expected #{mu_pp(obj)} to be a kind of #{cls}, not #{obj.class}" }
  assert obj.kind_of?(cls), msg
end