PHP Class Nelmio\Alice\Faker\GeneratorFactoryTest

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

Méthodes publiques

Méthode Description
testAssertGeneratorLocaleMethod ( )
testCanReturnDecoratedGenerator ( )
testCreatingGeneratorWithInvalidLocaleFallsbackOnFakerDefaultLocale ( )
testEachGeneratorCreatedIsCached ( )
testFakerDefaultProvidersAreNotAdded ( )
testIfALocaleIsGivenThenCreatesANewGeneratorWithThisLocaleAndTheDecoratedGeneratorProviders ( )

Private Methods

Méthode Description
assertGeneratorLocaleIs ( string $locale, Generator $generator )
assertGeneratorLocaleIsNot ( string $locale, Generator $generator )

Method Details

testAssertGeneratorLocaleMethod() public méthode

testCanReturnDecoratedGenerator() public méthode

testCreatingGeneratorWithInvalidLocaleFallsbackOnFakerDefaultLocale() public méthode

testEachGeneratorCreatedIsCached() public méthode

testFakerDefaultProvidersAreNotAdded() public méthode

testIfALocaleIsGivenThenCreatesANewGeneratorWithThisLocaleAndTheDecoratedGeneratorProviders() public méthode