Class | FlexMock::Interception |
In: |
lib/flexmock.rb
|
Parent: | Object |
A Class Interception defines a constant in the target class to be a proxy that points to a replacement class for the duration of a test. When an interception is restored, the proxy will point to the original intercepted class.