    # File lib/active_support/testing/setup_and_teardown.rb, line 12
          def self.included(base)
            base.class_eval do
              include ActiveSupport::Callbacks
              define_callbacks :setup, :teardown

              if defined?(::Mini)
                undef_method :run
                alias_method :run, :run_with_callbacks_and_miniunit
              else
                begin
                  require 'mocha'
                  undef_method :run
                  alias_method :run, :run_with_callbacks_and_mocha
                rescue LoadError
                  undef_method :run
                  alias_method :run, :run_with_callbacks_and_testunit
                end
              end
            end
          end