Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Nelmio
Alice
ParameterBagTest
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
public
testCanRemoveElements
( )
testIfTwoParametersWithTheSameKeyAreAddedThenTheNewerOneWillBeDiscarded()
public
method
public
testIfTwoParametersWithTheSameKeyAreAddedThenTheNewerOneWillBeDiscarded
( )
testIsCountable()
public
method
public
testIsCountable
( )
testIsImmutable()
public
method
public
testIsImmutable
( )
testIsTraversable()
public
method
public
testIsTraversable
( )
testReadAccessorsReturnPropertiesValues()
public
method
public
testReadAccessorsReturnPropertiesValues
( )
testThrowsAnExceptionWhenATryingToGetAnInexistingParameter()
public
method
public
testThrowsAnExceptionWhenATryingToGetAnInexistingParameter
( )
testToArray()
public
method
public
testToArray
( )
testWithersReturnNewModifiedObject()
public
method
public
testWithersReturnNewModifiedObject
( )