PHP Class FactoryGirl\Tests\Provider\Doctrine\Fixtures\TestCase

Inheritance: extends PHPUnit_Framework_TestCas\PHPUnit_Framework_TestCase
Show file Open project: breerly/factory-girl-php Class Usage Examples

Public Properties

Property Type Description
$factory FactoryGirl\Provider\Doctrine\FixtureFactory Public to allow access from the broken 5.3 closures.

Protected Properties

Property Type Description
$em Doctrine\ORM\EntityManager
$testDb FactoryGirl\Tests\Provider\Doctrine\TestDb

Public Methods

Method Description
setUp ( )

Protected Methods

Method Description
assertThrows ( $func, $exceptionType = '\Exception' ) : Exception

Method Details

assertThrows() protected method

protected assertThrows ( $func, $exceptionType = '\Exception' ) : Exception
return Exception

setUp() public method

public setUp ( )

Property Details

$em protected property

protected EntityManager,Doctrine\ORM $em
return Doctrine\ORM\EntityManager

$factory public property

Public to allow access from the broken 5.3 closures.
public FixtureFactory,FactoryGirl\Provider\Doctrine $factory
return FactoryGirl\Provider\Doctrine\FixtureFactory

$testDb protected property

protected TestDb,FactoryGirl\Tests\Provider\Doctrine $testDb
return FactoryGirl\Tests\Provider\Doctrine\TestDb