Method: ObjectProtocol::MessageExpectation#==
- Defined in:
- lib/object_protocol/message_expectation.rb
#==(other) ⇒ Object
47 48 49 50 51 52 53 54 55 56 |
# File 'lib/object_protocol/message_expectation.rb', line 47 def ==(other) other.respond_to?(:sender) && sender == other.sender && other.respond_to?(:receiver) && receiver == other.receiver && other.respond_to?(:message) && == other. && other.respond_to?(:arguments) && arguments == other.arguments end |