/**
  * Before-test setup
  */
 public function setUp()
 {
     parent::setUp();
     $this->buildSchema();
     $fixtureLoader = new FixtureLoader($this->getEntityManager());
     $fixtureLoader->execute();
 }
Beispiel #2
0
 /**
  * @expectedException DavidBadura\Fixtures\Exception\ReferenceNotFoundException
  */
 public function testReferenceNotFoundException()
 {
     $userFixture = $this->createUserFixture(array('david' => array('name' => 'David Badura', 'email' => '*****@*****.**', 'groups' => array('@group:users'))));
     $fixtures = new FixtureCollection(array($userFixture));
     $this->executor->execute($fixtures);
 }