RedBeanModelMulitpleSameModelRelationsTest Class Reference

Inheritance diagram for RedBeanModelMulitpleSameModelRelationsTest:

Public Member Functions

 testMultipleHasOnesToTheSameModel ()
 testMultipleHasManysToTheSameModel ()
 testAssumptiveLinkWithARelationNameThatIsNotTheModelClassName ()
 testSearchQueryFormulatesProperlyForAssumptiveLink ()
 testMultipleManyManysToTheSameModel ()
 testMultipleManyManysToTheSameModelSearchQueryFormsCorrectly ()
 testMultipleBelongsToTheSameModel ()
 testAreRelationsValidWithOnlyOneAssumptiveLinkAgainstASingleModel ()
 testMoveThisSomewhereElse ()
 testHasOneBelongsToSupportsSpecificLinks ()

Static Public Member Functions

static getDependentTestModelClassNames ()

Detailed Description

This test class tests various relationship scenarios where there are 2 relationships pointing to the same model. For example Model A has a relationship b1 that goes to B and also has a relationship b2 that goes to B. This presents new challenges that are tested in this class.

Definition at line 42 of file RedBeanModelMulitpleSameModelRelationsTest.php.

Member Function Documentation

testSearchQueryFormulatesProperlyForAssumptiveLink (  ) 

Test that search where clause is generated properly when the assumptive link is for a relation with a different name than the model class name testAssumptiveLinkWithARelationNameThatIsNotTheModelClassName

Definition at line 211 of file RedBeanModelMulitpleSameModelRelationsTest.php.

The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Tue May 23 07:10:28 2017