PHP Class Networking\InitCmsBundle\Tests\Entity\PageListenerTest

Inheritance: extends PHPUnit_Framework_TestCase
显示文件 Open project: networking/init-cms-bundle

Public Methods

Method Description
testGetPageRoutePath ( )
testPostPersist_WithPage ( ) postPersist with Page
testPostPersist_WithTag ( ) postPersist with Tag
testPostUpdate_WithPage ( ) postUpdate with Page and no children
testPostUpdate_WithPageAndTenChildren ( ) postUpdate with Page and 10 children
testPostUpdate_WithStdClass ( ) postUpdate with Tag

Private Methods

Method Description
getMockChildren ( integer $count ) : array

Method Details

testGetPageRoutePath() public method

testPostPersist_WithPage() public method

postPersist with Page

testPostPersist_WithTag() public method

postPersist with Tag

testPostUpdate_WithPage() public method

postUpdate with Page and no children

testPostUpdate_WithPageAndTenChildren() public method

postUpdate with Page and 10 children

testPostUpdate_WithStdClass() public method

postUpdate with Tag