Property | Type | Description | |
---|---|---|---|
$tester | UnitTester | UnitTester Object |
Method | Description | |
---|---|---|
providerConstructor ( ) | ||
providerKey ( ) | ||
providerReadWrite ( ) | ||
testHasRedis ( ) | ||
testShouldCreateRedisAdapterInstanceAndSetOptions ( array $options, array $expected ) | ||
testShouldGetCacheBackendThroughGetter ( ) | ||
testShouldGetCacheBackendThroughReflectionSetter ( ) | ||
testShouldPrepareKey ( mixed $key ) | ||
testShouldReadAndWriteToRedisWithPrefix ( string $key, mixed $data ) | ||
testShouldReadAndWriteToRedisWithoutPrefix ( string $key, mixed $data ) |
Method | Description | |
---|---|---|
_after ( ) | executed after each test | |
_before ( ) | executed before each test |
public testShouldCreateRedisAdapterInstanceAndSetOptions ( array $options, array $expected ) | ||
$options | array | |
$expected | array |
public testShouldGetCacheBackendThroughGetter ( ) |
public testShouldReadAndWriteToRedisWithPrefix ( string $key, mixed $data ) | ||
$key | string | |
$data | mixed |
public testShouldReadAndWriteToRedisWithoutPrefix ( string $key, mixed $data ) | ||
$key | string | |
$data | mixed |