PHP Class Mongolid\Util\CacheComponentTest

Inheritance: extends TestCas\TestCase
Datei anzeigen Open project: leroy-merlin-br/mongolid

Public Properties

Property Type Description
$time integer Current time that will be retrieved by CacheComponent::time().

Public Methods

Method Description
tearDown ( )
testShouldExpireValues ( )
testShouldImplementCacheComponentInterface ( )
testShouldPutAndRetrieveValues ( )

Protected Methods

Method Description
getCacheComponent ( )
tick ( $seconds ) Skips $seconds of time.

Method Details

getCacheComponent() protected method

protected getCacheComponent ( )

tearDown() public method

public tearDown ( )

testShouldExpireValues() public method

testShouldImplementCacheComponentInterface() public method

testShouldPutAndRetrieveValues() public method

tick() protected method

Skips $seconds of time.
protected tick ( $seconds )

Property Details

$time public_oe property

Current time that will be retrieved by CacheComponent::time().
public int $time
return integer