PHP Class 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.
Author: Gabor de Mooij and the RedBeanPHP Community
Inheritance: extends RedUNIT\Base
Afficher le fichier Open project: gabordemooij/redbean

Méthodes publiques

Méthode Description
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.

Method Details

testBeutificationOfLinkModel() public méthode

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

testCustomBeanHelper() public méthode

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
Résultat void

testFUSE() public méthode

Test FUSE and model formatting.
public testFUSE ( ) : void
Résultat void

testFactory() public méthode

Tests the SimpleFacadeBeanHelper factory setter.
public testFactory ( ) : void
Résultat void

testGetExtractedToolBox() public méthode

Test extraction of toolbox.
public testGetExtractedToolBox ( ) : void
Résultat void

testHooks() public méthode

.)
public testHooks ( ) : void
Résultat void

testModelErrorHandling() public méthode

Test error handling options FUSE.

testTheoreticalBeautifications() public méthode

Only theoretical.
public testTheoreticalBeautifications ( ) : void
Résultat void