PHP Class Neos\Flow\Tests\Unit\Cache\CacheFactoryTest

Inheritance: extends Neos\Flow\Tests\UnitTestCase
Show file Open project: neos/flow-development-collection

Protected Properties

Property Type Description
$mockCacheManager Neos\Flow\Cache\CacheManager | PHPUnit_Framework_MockObject_MockObject
$mockEnvironment Neos\Flow\Utility\Environment
$mockEnvironmentConfiguration Neos\Cache\EnvironmentConfiguration

Public Methods

Method Description
aDifferentDefaultCacheDirectoryIsUsedForPersistentFileCaches ( )
createInjectsAnInstanceOfTheSpecifiedBackendIntoTheCacheFrontend ( )
createReturnsInstanceOfTheSpecifiedCacheFrontend ( )
setUp ( ) Creates the mocked filesystem used in the tests

Method Details

aDifferentDefaultCacheDirectoryIsUsedForPersistentFileCaches() public method

createInjectsAnInstanceOfTheSpecifiedBackendIntoTheCacheFrontend() public method

createReturnsInstanceOfTheSpecifiedCacheFrontend() public method

setUp() public method

Creates the mocked filesystem used in the tests
public setUp ( )

Property Details

$mockCacheManager protected property

protected CacheManager,Neos\Flow\Cache|PHPUnit_Framework_MockObject_MockObject $mockCacheManager
return Neos\Flow\Cache\CacheManager | PHPUnit_Framework_MockObject_MockObject

$mockEnvironment protected property

protected Environment,Neos\Flow\Utility $mockEnvironment
return Neos\Flow\Utility\Environment

$mockEnvironmentConfiguration protected property

protected EnvironmentConfiguration,Neos\Cache $mockEnvironmentConfiguration
return Neos\Cache\EnvironmentConfiguration