module Mocha::Detection::TestUnit

def self.testcase

def self.testcase
  if defined?(::Test::Unit::TestCase) &&
     !(defined?(::Minitest::Unit::TestCase) && (::Test::Unit::TestCase < ::Minitest::Unit::TestCase)) &&
     !(defined?(::Minitest::Spec) && (::Test::Unit::TestCase < ::Minitest::Spec))
    ::Test::Unit::TestCase
  end
end