PHP Class ParagonIE\EasyDB\Tests\EasyDBTest

Inheritance: extends PHPUnit_Framework_TestCas\PHPUnit_Framework_TestCase
Afficher le fichier Open project: paragonie/easydb

Méthodes publiques

Méthode Description
BadFactoryCreateArgumentProvider ( ) : array Data provider for arguments to be passed to Factory::create These arguments will not result in a valid EasyDB instance
GoodFactoryCreateArgument2EasyDBProvider ( ) : array EasyDB data provider Returns an array of callables that return instances of EasyDB
GoodFactoryCreateArgument2EasyDBQuoteProvider ( ) Remaps EasyDBWriteTest::GoodFactoryCreateArgument2EasyDBProvider()
GoodFactoryCreateArgumentProvider ( ) : array Data provider for arguments to be passed to Factory::create These arguments will result in a valid EasyDB instance

Méthodes protégées

Méthode Description
EasyDBExpectedFromCallable ( callable $cb ) : EasyDB Strict-type paranoia for a callable that is expected to return an EasyDB instance

Method Details

BadFactoryCreateArgumentProvider() public méthode

Data provider for arguments to be passed to Factory::create These arguments will not result in a valid EasyDB instance

EasyDBExpectedFromCallable() protected méthode

Strict-type paranoia for a callable that is expected to return an EasyDB instance
protected EasyDBExpectedFromCallable ( callable $cb ) : EasyDB
$cb callable
Résultat ParagonIE\EasyDB\EasyDB

GoodFactoryCreateArgument2EasyDBProvider() public méthode

EasyDB data provider Returns an array of callables that return instances of EasyDB
See also: EasyDBTest::GoodFactoryCreateArgumentProvider()

GoodFactoryCreateArgument2EasyDBQuoteProvider() public méthode

Remaps EasyDBWriteTest::GoodFactoryCreateArgument2EasyDBProvider()

GoodFactoryCreateArgumentProvider() public méthode

Data provider for arguments to be passed to Factory::create These arguments will result in a valid EasyDB instance