Class
Facon::Proxy
In:
lib/facon/proxy.rb
Parent:
Object
A proxy for mock objects. Stubs and expectations are set on this proxy.
Methods
add_expectation
add_negative_expectation
add_stub
message_received
new
reset
verify
Public Class methods
new
(target, name)
Public Instance methods
add_expectation
(expected_from, method, &block)
add_negative_expectation
(expected_from, method, &block)
add_stub
(expected_from, method)
message_received
(method, *args, &block)
reset
()
verify
()
[Validate]