PHP Класс RedUNIT\Blackhole\Toolbox

The Toolbox acts as a kind of micro service locator. The toolbox is passed around by RedBeanPHP core objects to share services. It contains an adapter, a query writer and the RedBeanPHP Object Database object (OODB). This test suite focuses on the toolbox.
Автор: Gabor de Mooij and the RedBeanPHP Community
Наследование: extends RedUNIT\Blackhole
Показать файл Открыть проект

Открытые методы

Метод Описание
testCanWeObtainToolbox ( ) : void Test whether we can obtain a toolbox properly.
testDatabaseCheck ( ) : void Tests the hasDatabase() method.
testDoesToolboxContainTheTools ( ) : void Does the toolbox contain the necessary tools ?
testInvalidDB ( ) : void Github issue #458, selectDatabase causes PHP notice undefined index if database key not found.
testRepoSwitching ( ) : void Tests whether freeze() switches the repository object as it is supposed to do.

Описание методов

testCanWeObtainToolbox() публичный Метод

Test whether we can obtain a toolbox properly.
public testCanWeObtainToolbox ( ) : void
Результат void

testDatabaseCheck() публичный Метод

Tests the hasDatabase() method.
public testDatabaseCheck ( ) : void
Результат void

testDoesToolboxContainTheTools() публичный Метод

Does the toolbox contain the necessary tools ?
public testDoesToolboxContainTheTools ( ) : void
Результат void

testInvalidDB() публичный Метод

Github issue #458, selectDatabase causes PHP notice undefined index if database key not found.
public testInvalidDB ( ) : void
Результат void

testRepoSwitching() публичный Метод

Tests whether freeze() switches the repository object as it is supposed to do.
public testRepoSwitching ( ) : void
Результат void