Пример #1
0
 protected function setUp()
 {
     $this->repositoryFactory = new TestRepositoryFactory();
     $config = DoctrineTestHelper::createTestConfiguration();
     $config->setRepositoryFactory($this->repositoryFactory);
     $this->em = DoctrineTestHelper::createTestEntityManager($config);
     $this->registry = $this->createRegistryMock($this->em);
     $this->createSchema($this->em);
     parent::setUp();
 }