PHP Класс RedUNIT\Base\Fuse

Tests whether we can associate model logic on-the-fly by defining models extending from SimpleModel. Tests whether the calls to facade trigger the corresponding methods on the model.
Автор: Gabor de Mooij and the RedBeanPHP Community
Наследование: extends RedUNIT\Base
Показать файл Открыть проект

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

Метод Описание
testBeutificationOfLinkModel ( ) Make sure that beans of type book_page can be fused with models like BookPage (beautified) as well as Book_Page (non-beautified).
testCustomBeanHelper ( ) : void Test whether we can override the getModelForBean() method of the BeanHelper and use a custom BeanHelper to attach a model based on type.
testFUSE ( ) : void Test FUSE and model formatting.
testFactory ( ) : void Tests the SimpleFacadeBeanHelper factory setter.
testGetExtractedToolBox ( ) : void Test extraction of toolbox.
testHooks ( ) : void Test FUSE hooks (i.e. open, update, update_after etc.
testModelErrorHandling ( ) Test error handling options FUSE.
testTheoreticalBeautifications ( ) : void Only theoretical.

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

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

Make sure that beans of type book_page can be fused with models like BookPage (beautified) as well as Book_Page (non-beautified).

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

Test whether we can override the getModelForBean() method of the BeanHelper and use a custom BeanHelper to attach a model based on type.
public testCustomBeanHelper ( ) : void
Результат void

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

Test FUSE and model formatting.
public testFUSE ( ) : void
Результат void

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

Tests the SimpleFacadeBeanHelper factory setter.
public testFactory ( ) : void
Результат void

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

Test extraction of toolbox.
public testGetExtractedToolBox ( ) : void
Результат void

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

.)
public testHooks ( ) : void
Результат void

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

Test error handling options FUSE.

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

Only theoretical.
public testTheoreticalBeautifications ( ) : void
Результат void