PHP Class Phalcon\Test\Annotations\Adapter\AerospikeTest

Author: Serghei Iakovlev ([email protected])
Inheritance: extends Codeception\TestCase\Test
Datei anzeigen Open project: phalcon/incubator

Protected Properties

Property Type Description
$tester UnitTester UnitTester Object

Public Methods

Method Description
providerConstructor ( )
providerInvalidConstructor ( )
providerKey ( )
providerReadWrite ( )
testHasAerospikeProperty ( )
testHasNamespaceProperty ( )
testHasSetProperty ( )
testShouldCatchExceptionWhenInvalidParamsPassed ( array $options, string $exceptionName, string $exceptionMessage )
testShouldCreateRedisAdapterInstanceAndSetOptions ( array $options, array $expected )
testShouldGetCacheBackendThroughGetter ( )
testShouldGetCacheBackendThroughReflectionSetter ( )
testShouldPrepareKey ( mixed $key )
testShouldReadAndWriteToAerospikeWithPrefix ( string $key, mixed $data )
testShouldReadAndWriteToAerospikeWithoutPrefix ( string $key, mixed $data )

Protected Methods

Method Description
_before ( ) executed before each test

Method Details

_before() protected method

executed before each test
protected _before ( )

providerConstructor() public method

public providerConstructor ( )

providerInvalidConstructor() public method

providerKey() public method

public providerKey ( )

providerReadWrite() public method

public providerReadWrite ( )

testHasAerospikeProperty() public method

testHasNamespaceProperty() public method

testHasSetProperty() public method

public testHasSetProperty ( )

testShouldCatchExceptionWhenInvalidParamsPassed() public method

public testShouldCatchExceptionWhenInvalidParamsPassed ( array $options, string $exceptionName, string $exceptionMessage )
$options array
$exceptionName string
$exceptionMessage string

testShouldCreateRedisAdapterInstanceAndSetOptions() public method

public testShouldCreateRedisAdapterInstanceAndSetOptions ( array $options, array $expected )
$options array
$expected array

testShouldGetCacheBackendThroughGetter() public method

testShouldGetCacheBackendThroughReflectionSetter() public method

testShouldPrepareKey() public method

public testShouldPrepareKey ( mixed $key )
$key mixed

testShouldReadAndWriteToAerospikeWithPrefix() public method

testShouldReadAndWriteToAerospikeWithoutPrefix() public method

Property Details

$tester protected_oe property

UnitTester Object
protected UnitTester $tester
return UnitTester