PHP Class Sonata\tests\Component\Form\EventListener\BasketResizeFormListenerTest

Author: Hugo Briand ([email protected])
Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: sonata-project/ecommerce

Public Methods

Method Description
testGetSubscribedEvents ( )
testPreBind ( )
testPreBindEmpty ( )
testPreBindException ( )
testPreSetData ( )

Protected Methods

Method Description
getBasketElements ( $elements = [] )
getFormEvent ( $preSetData = false, $addIsCalled = true ) : Symfony\Component\Form\FormEvent
getMockedForm ( $addIsCalled = true ) : Symfony\Component\Form\FormInterface

Method Details

getBasketElements() protected method

protected getBasketElements ( $elements = [] )

getFormEvent() protected method

protected getFormEvent ( $preSetData = false, $addIsCalled = true ) : Symfony\Component\Form\FormEvent
return Symfony\Component\Form\FormEvent

getMockedForm() protected method

protected getMockedForm ( $addIsCalled = true ) : Symfony\Component\Form\FormInterface
return Symfony\Component\Form\FormInterface

testGetSubscribedEvents() public method

testPreBind() public method

public testPreBind ( )

testPreBindEmpty() public method

public testPreBindEmpty ( )

testPreBindException() public method

testPreSetData() public method

public testPreSetData ( )