| Class | RR::Injections::DoubleInjection |
| In: |
lib/rr/injections/double_injection.rb
|
| Parent: | Injection |
RR::DoubleInjection is the binding of an subject and a method. A double_injection has 0 to many Double objects. Each Double has Argument Expectations and Times called Expectations.
| MethodArguments | = | Struct.new(:arguments, :block) |
| BoundObjects | = | {} |
| doubles | [R] | |
| method_name | [R] | |
| subject_class | [R] |
RR::DoubleInjection#bind injects a method that acts as a dispatcher that dispatches to the matching Double when the method is called.
RR::DoubleInjection#register_double adds the passed in Double into this DoubleInjection‘s list of Double objects.
Resets the DoubleInjection for the passed in subject and method_name.
Verifies the DoubleInjection for the passed in subject and method_name.