|
Open Journal Systems
3.3.0
|
Public Member Functions | |
| testConstructorEnsuresCallbackIsCallable () | |
| testIntegrationWithCachePlugin () | |
| testUsesCallback () | |
Public Member Functions inherited from Guzzle\Tests\GuzzleTestCase | |
| 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 Public Member Functions inherited from Guzzle\Tests\GuzzleTestCase | |
| static | getServer () |
| static | getServiceBuilder () |
| static | setMockBasePath ($path) |
| static | setServiceBuilder (ServiceBuilderInterface $builder) |
Data Fields inherited from Guzzle\Tests\GuzzleTestCase | |
| $mockObserver | |
Static Public Attributes inherited from Guzzle\Tests\GuzzleTestCase | |
| static | $server |
| static | $serviceBuilder |
Protected Member Functions inherited from Guzzle\Tests\GuzzleTestCase | |
| hasSubscriber (HasDispatcherInterface $dispatcher, EventSubscriberInterface $subscriber) | |
Static Protected Attributes inherited from Guzzle\Tests\GuzzleTestCase | |
| 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.