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
Definition
FlagBagTest
PHP Class Nelmio\Alice\Definition\FlagBagTest
Inheritance:
extends
PHPUnit_Framework_TestCase
Show file
Open project: nelmio/alice
Public Methods
Method
Description
testAddingAFlagCreatesANewModifiedInstance
( )
testCanCumulateExtendFlags
( )
testCanMergeTwoBagsWithoutOverridingExistingValues
( )
testCannotCumulateOptionalFlags
( )
testCannotCumulateTemplateFlags
( )
testCannotCumulateUniqueFlags
( )
testDoesNotDuplicateFlags
( )
testIsCountable
( )
testIsImmutable
( )
testIsIterable
( )
testMergingTwoBagsCreatesANewModifiedInstance
( )
testReadAccessorsReturnPropertiesValues
( )
Private Methods
Method
Description
assertSameFlags
(
array
$expected
,
FlagBag
$actual
)
Method Details
testAddingAFlagCreatesANewModifiedInstance()
public
method
public
testAddingAFlagCreatesANewModifiedInstance
( )
testCanCumulateExtendFlags()
public
method
public
testCanCumulateExtendFlags
( )
testCanMergeTwoBagsWithoutOverridingExistingValues()
public
method
public
testCanMergeTwoBagsWithoutOverridingExistingValues
( )
testCannotCumulateOptionalFlags()
public
method
public
testCannotCumulateOptionalFlags
( )
testCannotCumulateTemplateFlags()
public
method
public
testCannotCumulateTemplateFlags
( )
testCannotCumulateUniqueFlags()
public
method
public
testCannotCumulateUniqueFlags
( )
testDoesNotDuplicateFlags()
public
method
public
testDoesNotDuplicateFlags
( )
testIsCountable()
public
method
public
testIsCountable
( )
testIsImmutable()
public
method
public
testIsImmutable
( )
testIsIterable()
public
method
public
testIsIterable
( )
testMergingTwoBagsCreatesANewModifiedInstance()
public
method
public
testMergingTwoBagsCreatesANewModifiedInstance
( )
testReadAccessorsReturnPropertiesValues()
public
method
public
testReadAccessorsReturnPropertiesValues
( )