PHP Class Nelmio\Alice\Generator\ObjectGenerator\CompleteObjectGeneratorTest

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

Public Methods

Method Description
provideSets ( )
testIsAnObjectGenerator ( )
testIsNotClonable ( )
testReturnsCompleteObjectWheneverItIsPossible ( Nelmio\Alice\FixtureInterface $fixture, GenerationContext $context, Nelmio\Alice\Generator\ObjectGeneratorInterface $decoratedGenerator, ObjectBag $expected )
testReturnsFixtureSetObjectsIfObjectIsAlreadyCompletelyGenerated ( )
testUsesDecoratedGeneratorToGenerateTheObjectAndReturnsTheResultIfDoesNotRequireACompleteObject ( )

Method Details

provideSets() public method

public provideSets ( )

testIsAnObjectGenerator() public method

testIsNotClonable() public method

public testIsNotClonable ( )

testReturnsCompleteObjectWheneverItIsPossible() public method

public testReturnsCompleteObjectWheneverItIsPossible ( Nelmio\Alice\FixtureInterface $fixture, GenerationContext $context, Nelmio\Alice\Generator\ObjectGeneratorInterface $decoratedGenerator, ObjectBag $expected )
$fixture Nelmio\Alice\FixtureInterface
$context Nelmio\Alice\Generator\GenerationContext
$decoratedGenerator Nelmio\Alice\Generator\ObjectGeneratorInterface
$expected Nelmio\Alice\ObjectBag

testReturnsFixtureSetObjectsIfObjectIsAlreadyCompletelyGenerated() public method

testUsesDecoratedGeneratorToGenerateTheObjectAndReturnsTheResultIfDoesNotRequireACompleteObject() public method