Methods

Included Modules

FlexMock::TestCase

                                                                  

Test::Unit::TestCase Integration.

Include this module in any TestCase class in a Test::Unit test suite to get integration with FlexMock. When this module is included, the mock container methods (e.g. flexmock(), flexstub()) will be available.

Note: If you define a teardown method in the test case, dont’ forget to invoke the super method! Failure to invoke super will cause all mocks to not be verified.

Public Instance Methods

teardown() click to toggle source

Teardown the test case, verifying any mocks that might have been defined in this test case.

    # File lib/flexmock/test_unit_integration.rb, line 35
35:     def teardown
36:       super
37:       flexmock_teardown
38:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.