Mocks::UnexpectedMessage
Inherits Exception < Reference < Object
Exception raised when a method was called that wasn't allowed or expected.
Constructors
new(method_name : Symbol, message = "Unexpected method `#{method_name}` was called")
SourceInherits Exception < Reference < Object
Exception raised when a method was called that wasn't allowed or expected.