Свойство | Тип | Описание | |
---|---|---|---|
$tester | UnitTester | UnitTester Object |
Метод | Описание | |
---|---|---|
incorrectDbProvider ( ) | ||
incorrectOptionsProvider ( ) | ||
testShouldCreateAdapterInstance ( ) | ||
testShouldThrowExceptionIfDbIsMissingOrInvalid ( array $options ) | ||
testShouldThrowExceptionWhenOptionsIsInvalid ( string $expected, array $options ) |
Метод | Описание | |
---|---|---|
_after ( ) | executed after each test | |
_before ( ) | executed before each test | |
assertProtectedPropertyEquals ( $propertyName, $tableName, Phalcon\Db\AdapterInterface $connection, |
||
getConnection ( ) |
protected assertProtectedPropertyEquals ( $propertyName, $tableName, Phalcon\Db\AdapterInterface $connection, |
||
$connection | Phalcon\Db\AdapterInterface | |
$adapter |
public testShouldThrowExceptionIfDbIsMissingOrInvalid ( array $options ) | ||
$options | array |
public testShouldThrowExceptionWhenOptionsIsInvalid ( string $expected, array $options ) | ||
$expected | string | |
$options | array |