PHP Class Nelmio\Alice\Loader\LoaderIntegrationTest

Inheritance: extends PHPUnit_Framework_TestCase
Datei anzeigen Open project: nelmio/alice Class Usage Examples

Protected Properties

Property Type Description
$loader Nelmio\Alice\FileLoaderInterface | Nelmio\Alice\DataLoaderInterface
$nonIsolatedLoader Nelmio\Alice\FileLoaderInterface | Nelmio\Alice\DataLoaderInterface

Public Methods

Method Description
provideFixturesToGenerate ( )
provideFixturesToHydrate ( )
provideFixturesToInstantiate ( )
setUp ( )
testFixtureGeneration ( array $data, array $expected = null )
testGenerationCache ( )
testIfAFixtureAndAnInjectedObjectHaveTheSameIdThenTheInjectedObjectIsOverridden ( )
testInjectedParametersAndObjectsAreOverriddenByLocalParameters ( )
testLoadASetOfDataWithInjectedObjects ( )
testLoadAutomaticallyEscapedReference ( )
testLoadEmptyData ( )
testLoadFakerFunctionWithData ( )
testLoadFakerFunctionWithPhpArguments ( )
testLoadInexistingFile ( )
testLoadLocalizedFakerFunctionWithData ( )
testLoadOptionalValues ( )
testLoadParsesReferencesInQuotes ( )
testLoadPhpFileWhichDoesNotReturnAnything ( )
testLoadSelfReferencedFixture ( )
testLoadSelfReferencedFixtures ( )
testLoadTwoSuccessiveFakerFunctions ( )
testLoadUnsupportedFileFormat ( )
testMultipleInheritanceInInstance ( )
testMultipleInheritanceInTemplates ( )
testObjectHydration ( array $data, array $expected = null )
testObjectInstantiation ( array $data, $expected )
testTemplateCanExtendOtherTemplateObjectsCombinedWithRange ( )
testTemplatesAreKeptBetweenFiles ( )
testThrowsAnExceptionIfInheritFromAnInexistingTemplate ( )
testThrowsAnExceptionIfInheritFromAnNonExistingFixture ( )
testThrowsAnExceptionIfUsingCurrentOutOfACollection ( )
testUniqueOnArray ( )
testUniqueValueGeneration ( )
testUniqueValueGenerationFailure ( )
testUniqueValueGenerationInAFunctionCall ( )
testUniqueValueGenerationWithDynamicArray ( )
testUniqueValuesAreUniqueAcrossAClass ( )

Method Details

provideFixturesToGenerate() public method

provideFixturesToHydrate() public method

provideFixturesToInstantiate() public method

setUp() public method

public setUp ( )

testFixtureGeneration() public method

public testFixtureGeneration ( array $data, array $expected = null )
$data array
$expected array

testGenerationCache() public method

public testGenerationCache ( )

testIfAFixtureAndAnInjectedObjectHaveTheSameIdThenTheInjectedObjectIsOverridden() public method

testInjectedParametersAndObjectsAreOverriddenByLocalParameters() public method

testLoadASetOfDataWithInjectedObjects() public method

testLoadAutomaticallyEscapedReference() public method

testLoadEmptyData() public method

public testLoadEmptyData ( )

testLoadFakerFunctionWithData() public method

testLoadFakerFunctionWithPhpArguments() public method

testLoadInexistingFile() public method

testLoadLocalizedFakerFunctionWithData() public method

testLoadOptionalValues() public method

testLoadParsesReferencesInQuotes() public method

testLoadPhpFileWhichDoesNotReturnAnything() public method

testLoadSelfReferencedFixture() public method

testLoadSelfReferencedFixtures() public method

testLoadTwoSuccessiveFakerFunctions() public method

testLoadUnsupportedFileFormat() public method

testMultipleInheritanceInInstance() public method

testMultipleInheritanceInTemplates() public method

testObjectHydration() public method

public testObjectHydration ( array $data, array $expected = null )
$data array
$expected array

testObjectInstantiation() public method

public testObjectInstantiation ( array $data, $expected )
$data array

testTemplateCanExtendOtherTemplateObjectsCombinedWithRange() public method

testTemplatesAreKeptBetweenFiles() public method

testThrowsAnExceptionIfInheritFromAnInexistingTemplate() public method

testThrowsAnExceptionIfInheritFromAnNonExistingFixture() public method

testThrowsAnExceptionIfUsingCurrentOutOfACollection() public method

testUniqueOnArray() public method

public testUniqueOnArray ( )

testUniqueValueGeneration() public method

testUniqueValueGenerationFailure() public method

testUniqueValueGenerationInAFunctionCall() public method

testUniqueValueGenerationWithDynamicArray() public method

testUniqueValuesAreUniqueAcrossAClass() public method

Property Details

$loader protected_oe property

protected FileLoaderInterface,Nelmio\Alice|DataLoaderInterface,Nelmio\Alice $loader
return Nelmio\Alice\FileLoaderInterface | Nelmio\Alice\DataLoaderInterface

$nonIsolatedLoader protected_oe property

protected FileLoaderInterface,Nelmio\Alice|DataLoaderInterface,Nelmio\Alice $nonIsolatedLoader
return Nelmio\Alice\FileLoaderInterface | Nelmio\Alice\DataLoaderInterface