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

testCanCumulateExtendFlags() public method

testCanMergeTwoBagsWithoutOverridingExistingValues() public method

testCannotCumulateOptionalFlags() public method

testCannotCumulateTemplateFlags() public method

testCannotCumulateUniqueFlags() public method

testDoesNotDuplicateFlags() public method

testIsCountable() public method

public testIsCountable ( )

testIsImmutable() public method

public testIsImmutable ( )

testIsIterable() public method

public testIsIterable ( )

testMergingTwoBagsCreatesANewModifiedInstance() public method

testReadAccessorsReturnPropertiesValues() public method