Open Journal Systems  3.3.0
Guzzle\Tests\Cache\CacheAdapterFactoryTest Class Reference
Inheritance diagram for Guzzle\Tests\Cache\CacheAdapterFactoryTest:
Guzzle\Tests\GuzzleTestCase

Public Member Functions

 cacheProvider ()
 
 testCreatesNullCacheAdapterByDefault ($cache, $type)
 
 testEnsuresConfigIsObject ()
 
 testEnsuresKnownType ()
 
- 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)
 

Protected Member Functions

 setup ()
 
- Protected Member Functions inherited from Guzzle\Tests\GuzzleTestCase
 hasSubscriber (HasDispatcherInterface $dispatcher, EventSubscriberInterface $subscriber)
 

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
 
- Static Protected Attributes inherited from Guzzle\Tests\GuzzleTestCase
static $mockBasePath
 

Detailed Description

See also
Guzzle\Cache\CacheAdapterFactory

Definition at line 13 of file CacheAdapterFactoryTest.php.

Member Function Documentation

◆ cacheProvider()

Guzzle\Tests\Cache\CacheAdapterFactoryTest::cacheProvider ( )

Definition at line 53 of file CacheAdapterFactoryTest.php.

◆ setup()

Guzzle\Tests\Cache\CacheAdapterFactoryTest::setup ( )
protected

Prepares the environment before running a test.

Definition at line 30 of file CacheAdapterFactoryTest.php.

◆ testCreatesNullCacheAdapterByDefault()

Guzzle\Tests\Cache\CacheAdapterFactoryTest::testCreatesNullCacheAdapterByDefault (   $cache,
  $type 
)

@dataProvider cacheProvider

Definition at line 65 of file CacheAdapterFactoryTest.php.

References Guzzle\Cache\CacheAdapterFactory\fromCache().

◆ testEnsuresConfigIsObject()

Guzzle\Tests\Cache\CacheAdapterFactoryTest::testEnsuresConfigIsObject ( )

@expectedException \InvalidArgumentException

Definition at line 40 of file CacheAdapterFactoryTest.php.

References Guzzle\Cache\CacheAdapterFactory\fromCache().

◆ testEnsuresKnownType()

Guzzle\Tests\Cache\CacheAdapterFactoryTest::testEnsuresKnownType ( )

@expectedException \InvalidArgumentException

Definition at line 48 of file CacheAdapterFactoryTest.php.

References Guzzle\Cache\CacheAdapterFactory\fromCache().


The documentation for this class was generated from the following file: