stub registry to keep track of StubbedRequest stubs
Other stub-registry:
remove_request_stub()
,
stub_registry()
,
stub_registry_clear()
request_stubs
(list) list of request stubs
print()
print method for the StubRegistry
class
find_stubbed_request()
Find a stubbed request
req
an object of class RequestSignature
an object of type StubbedRequest, if matched
request_stub_for()
Find a stubbed request
request_signature
an object of class RequestSignature
count
(bool) iterate counter or not. default: TRUE
remove_request_stub()
Remove a stubbed request by matching request signature
stub
an object of type StubbedRequest
is_registered()
Find a stubbed request from a request signature
x
an object of class RequestSignature
is_stubbed()
Check if a stubbed request is in the stub registry
stub
an object of class StubbedRequest