module FlexMock::GenericTestCase
Public Class Methods
Source
# File lib/flexmock/test_unit_testcase_extensions.rb, line 13 def self.define_extensions_on(klass) klass.class_eval do include FlexMock::ArgumentTypes include FlexMock::MockContainer # Alias the original teardown behavior for later use. alias :flexmock_original_teardown :teardown # Teardown the test case, verifying any mocks that might have been # defined in this test case. def teardown flexmock_teardown flexmock_original_teardown end end end
Public Instance Methods
Source
# File lib/flexmock/test_unit_testcase_extensions.rb, line 23 def teardown flexmock_teardown flexmock_original_teardown end
Teardown the test case, verifying any mocks that might have been defined in this test case.