PHP Class Nelmio\Alice\Faker\GeneratorFactoryTest

Inheritance: extends PHPUnit_Framework_TestCase
Datei anzeigen Open project: nelmio/alice

Public Methods

Method Description
testAssertGeneratorLocaleMethod ( )
testCanReturnDecoratedGenerator ( )
testCreatingGeneratorWithInvalidLocaleFallsbackOnFakerDefaultLocale ( )
testEachGeneratorCreatedIsCached ( )
testFakerDefaultProvidersAreNotAdded ( )
testIfALocaleIsGivenThenCreatesANewGeneratorWithThisLocaleAndTheDecoratedGeneratorProviders ( )

Private Methods

Method Description
assertGeneratorLocaleIs ( string $locale, Generator $generator )
assertGeneratorLocaleIsNot ( string $locale, Generator $generator )

Method Details

testAssertGeneratorLocaleMethod() public method

testCanReturnDecoratedGenerator() public method

testCreatingGeneratorWithInvalidLocaleFallsbackOnFakerDefaultLocale() public method

testEachGeneratorCreatedIsCached() public method

testFakerDefaultProvidersAreNotAdded() public method

testIfALocaleIsGivenThenCreatesANewGeneratorWithThisLocaleAndTheDecoratedGeneratorProviders() public method