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
Show file Open project: gabordemooij/redbean

Public Methods

Method 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 method

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 method

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
return void

testFUSE() public method

Test FUSE and model formatting.
public testFUSE ( ) : void
return void

testFactory() public method

Tests the SimpleFacadeBeanHelper factory setter.
public testFactory ( ) : void
return void

testGetExtractedToolBox() public method

Test extraction of toolbox.
public testGetExtractedToolBox ( ) : void
return void

testHooks() public method

.)
public testHooks ( ) : void
return void

testModelErrorHandling() public method

Test error handling options FUSE.

testTheoreticalBeautifications() public method

Only theoretical.