ReceptionClass
- Namespace
- Ancestors
Represents expected ::Lookout::Receptions. This is used to check mock method invocation counts and arguments.
Constructor
This class inherits its constructor from Object.
Instance Methods
expect(file::String, line::Integer){ |expected::Object|::Object … }Expect::Object#⚙
Returns an expect block for the receiver at line in file that’ll yield the #expected object and expect the block to call the method the appropriate number of times.
difference(actualInteger)Difference::Lookout::Reception?#⚙
Returns a difference report between the actual number of times the method was received and the range of expected number of receptions unless the earlier lay within the latter.