PHP Class Mongolid\Util\CacheComponentTest

Inheritance: extends TestCas\TestCase
Afficher le fichier Open project: leroy-merlin-br/mongolid

Méthodes publiques

Свойство Type Description
$time integer Current time that will be retrieved by CacheComponent::time().

Méthodes publiques

Méthode Description
tearDown ( )
testShouldExpireValues ( )
testShouldImplementCacheComponentInterface ( )
testShouldPutAndRetrieveValues ( )

Méthodes protégées

Méthode Description
getCacheComponent ( )
tick ( $seconds ) Skips $seconds of time.

Method Details

getCacheComponent() protected méthode

protected getCacheComponent ( )

tearDown() public méthode

public tearDown ( )

testShouldExpireValues() public méthode

testShouldImplementCacheComponentInterface() public méthode

testShouldPutAndRetrieveValues() public méthode

tick() protected méthode

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
Résultat integer