class MiniTest::Unit::TestCase

def self.setup_hooks # :nodoc:

:nodoc:
def self.setup_hooks # :nodoc:
  if superclass.respond_to? :setup_hooks then
    superclass.setup_hooks
  else
    []
  end + @setup_hooks
end