stub registry to keep track of StubbedRequest stubs
See also
Other stub-registry:
remove_request_stub(),
stub_registry(),
stub_registry_clear()
Methods
StubRegistry$find_stubbed_request()
Find a stubbed request
Arguments
reqan object of class RequestSignature
Returns
an object of type StubbedRequest, if matched
StubRegistry$request_stub_for()
Find a stubbed request
Arguments
request_signaturean object of class RequestSignature
count(bool) iterate counter or not. default:
TRUE
StubRegistry$remove_request_stub()
Remove a stubbed request by matching request signature
Arguments
stuban object of type StubbedRequest
StubRegistry$is_registered()
Find a stubbed request from a request signature
Arguments
xan object of class RequestSignature
StubRegistry$is_stubbed()
Check if a stubbed request is in the stub registry
Arguments
stuban object of class StubbedRequest
