PHP Class Nelmio\Alice\ParameterBagTest

Inheritance: extends PHPUnit_Framework_TestCase
Show file Open project: nelmio/alice

Public Methods

Method Description
testCanRemoveElements ( )
testIfTwoParametersWithTheSameKeyAreAddedThenTheNewerOneWillBeDiscarded ( )
testIsCountable ( )
testIsImmutable ( )
testIsTraversable ( )
testReadAccessorsReturnPropertiesValues ( )
testThrowsAnExceptionWhenATryingToGetAnInexistingParameter ( )
testToArray ( )
testWithersReturnNewModifiedObject ( )

Private Methods

Method Description
assertBagSize ( integer $size, ParameterBag $bag )

Method Details

testCanRemoveElements() public method

testIfTwoParametersWithTheSameKeyAreAddedThenTheNewerOneWillBeDiscarded() public method

testIsCountable() public method

public testIsCountable ( )

testIsImmutable() public method

public testIsImmutable ( )

testIsTraversable() public method

public testIsTraversable ( )

testReadAccessorsReturnPropertiesValues() public method

testThrowsAnExceptionWhenATryingToGetAnInexistingParameter() public method

testToArray() public method

public testToArray ( )

testWithersReturnNewModifiedObject() public method