| Class | RR::Double |
| In: |
lib/rr/double.rb
|
| Parent: | Object |
RR::Double is the use case for a method call. It has the ArgumentEqualityExpectation, TimesCalledExpectation, and the implementation.
| definition | [R] | |
| double_injection | [R] | |
| times_called | [R] | |
| times_called_expectation | [R] |
Double#exact_match? returns true when the passed in arguments exactly match the ArgumentEqualityExpectation arguments.
Double#verify verifies the the TimesCalledExpectation is satisfied for this double. A TimesCalledError is raised if the TimesCalledExpectation is not met.
Double#wildcard_match? returns true when the passed in arguments wildcard match the ArgumentEqualityExpectation arguments.