PHP Class Metaphore\Tests\CacheTest

Inheritance: extends PHPUnit_Framework_TestCase
Datei anzeigen Open project: sobstel/metaphore

Public Methods

Method Description
testCachesValue ( )
testCallableCanReturnDifferentValueIfNotStaleContentAvailableToServe ( )
testCallsCallableIfNotStaleContentAvailableToServe ( )
testGetReturnsResultEvenIfNoMetaphoreValueObjectStored ( )
testServesStaleValueIfOtherProcessIsGeneratingContent ( )

Protected Methods

Method Description
createFunc ( $result )
createLockManagerMock ( )

Method Details

createFunc() protected method

protected createFunc ( $result )

createLockManagerMock() protected method

protected createLockManagerMock ( )

testCachesValue() public method

public testCachesValue ( )

testCallableCanReturnDifferentValueIfNotStaleContentAvailableToServe() public method

testCallsCallableIfNotStaleContentAvailableToServe() public method

testGetReturnsResultEvenIfNoMetaphoreValueObjectStored() public method

testServesStaleValueIfOtherProcessIsGeneratingContent() public method