class Mocha::Invocation
Used internally by Bourne extensions to Mocha. Represents a single invocation of a stubbed or mocked method. The mock, method name, and arguments are recorded and can be used to determine how a method was invoked.
Attributes
arguments[R]
method_name[R]
mock[R]
Public Class Methods
new(mock, method_name, arguments)
click to toggle source
# File lib/bourne/invocation.rb, line 8 def initialize(mock, method_name, arguments) @mock = mock @method_name = method_name @arguments = arguments end