Open Journal Systems
3.3.0
|
Public Member Functions | |
testConstructorEnsuresCallbackIsCallable () | |
testIntegrationWithCachePlugin () | |
testUsesCallback () | |
![]() | |
addMockedRequest (RequestInterface $request) | |
assertContainsIns ($needle, $haystack, $message=null) | |
compareHeaders ($filteredHeaders, $actualHeaders) | |
getMockedRequests () | |
getMockResponse ($path) | |
getWildcardObserver (HasDispatcherInterface $hasDispatcher) | |
setMockResponse (Client $client, $paths) | |
Additional Inherited Members | |
![]() | |
static | getServer () |
static | getServiceBuilder () |
static | setMockBasePath ($path) |
static | setServiceBuilder (ServiceBuilderInterface $builder) |
![]() | |
$mockObserver | |
![]() | |
static | $server |
static | $serviceBuilder |
![]() | |
hasSubscriber (HasDispatcherInterface $dispatcher, EventSubscriberInterface $subscriber) | |
![]() | |
static | $mockBasePath |
Definition at line 16 of file CallbackCanCacheStrategyTest.php.
Guzzle\Tests\Plugin\Cache\CallbackCanCacheStrategyTest::testConstructorEnsuresCallbackIsCallable | ( | ) |
@expectedException \Guzzle\Common\Exception\InvalidArgumentException
Definition at line 21 of file CallbackCanCacheStrategyTest.php.
Guzzle\Tests\Plugin\Cache\CallbackCanCacheStrategyTest::testIntegrationWithCachePlugin | ( | ) |
The following is a bit of an integration test to ensure that the CachePlugin honors a custom can cache strategy.
Definition at line 36 of file CallbackCanCacheStrategyTest.php.
References Guzzle\Http\Message\Response\fromMessage().
Guzzle\Tests\Plugin\Cache\CallbackCanCacheStrategyTest::testUsesCallback | ( | ) |
Definition at line 26 of file CallbackCanCacheStrategyTest.php.