PHP Class RedUNIT\Base\Via

Tests the via() function to hop over an N-M table to obtain a indirectly related bean, i.e. given person, participant and project you should be able to obtain a the project associated with a certain person via() the participant entity.
Author: Gabor de Mooij and the RedBeanPHP Community
Inheritance: extends RedUNIT\Base
Show file Open project: gabordemooij/redbean

Public Methods

Method Description
testIssue378 ( ) : void Tests fix for issue #378.
testViaAndLink ( ) : void Test Via and Link together.
testViaAndRemove ( ) : void Test effect of via on shared list removal of beans.
testViaAndSQL ( ) : void Via specific tests.

Method Details

testIssue378() public method

Via property does not get cleared properly.
public testIssue378 ( ) : void
return void

testViaAndRemove() public method

Test effect of via on shared list removal of beans.
public testViaAndRemove ( ) : void
return void

testViaAndSQL() public method

Via specific tests.
public testViaAndSQL ( ) : void
return void