Class
Facon::ErrorGenerator
In:
lib/facon/error_generator.rb
Parent:
Object
A helper class for generating errors for expectation errors on mocks.
Methods
new
raise_block_failed_error
raise_expectation_error
raise_unexpected_message_args_error
raise_unexpected_message_error
Public Class methods
new
(target, name)
Public Instance methods
raise_block_failed_error
(method, exception_message)
raise_expectation_error
(expectation)
raise_unexpected_message_args_error
(expectation, *args)
raise_unexpected_message_error
(method, *args)
[Validate]