PHP Class Nelmio\Alice\ObjectBagTest

Inheritance: extends PHPUnit_Framework_TestCase
Afficher le fichier Open project: nelmio/alice

Méthodes publiques

Méthode Description
setUp ( )
testBagsCanBeInstantiatedWithObjects ( )
testBagsCanBeInstantiatedWithRegularObjects ( )
testBagsCanBeInstantiatedWithoutAnyObject ( )
testCountable ( )
testImmutableMerge ( )
testIsTraversable ( )
testReadAccessorsReturnPropertiesValues ( )
testThrowsAnExceptionIfAReferenceMismatchIsFound ( )
testThrowsExceptionWhenTryingToGetInexistingObject ( )
testToArray ( )
testWithersReturnNewModifiedInstance ( )

Private Methods

Méthode Description
assertSameObjects ( array $expected, ObjectBag $actual )
createFixture ( string $reference, string $className ) : Nelmio\Alice\FixtureInterface

Method Details

setUp() public méthode

public setUp ( )

testBagsCanBeInstantiatedWithObjects() public méthode

testBagsCanBeInstantiatedWithRegularObjects() public méthode

testBagsCanBeInstantiatedWithoutAnyObject() public méthode

testCountable() public méthode

public testCountable ( )

testImmutableMerge() public méthode

public testImmutableMerge ( )

testIsTraversable() public méthode

public testIsTraversable ( )

testReadAccessorsReturnPropertiesValues() public méthode

testThrowsAnExceptionIfAReferenceMismatchIsFound() public méthode

testThrowsExceptionWhenTryingToGetInexistingObject() public méthode

testToArray() public méthode

public testToArray ( )

testWithersReturnNewModifiedInstance() public méthode