MockCURLRequest.php
system/Test/Mock/MockCURLRequest.php
1 class
4 methods
class MockCURLRequest
Simply allows us to not actually call cURL during the test runs. Instead, we can set the desired output and get back the set options.
setOutput
($output)
sendRequest
(array $curlOptions = [])
getBaseURI
()
getDelay
()