Пример #1
0
 protected function setUp()
 {
     $test = new ConnectorTest();
     $this->collection = $test->testCollection();
     $facade = new Provider($this->collection);
     $this->repo = $facade->createRepository($this->createBuilder());
 }
Пример #2
0
 protected function setUp()
 {
     $connector = new \tests\Yuurei\Persistence\ConnectorTest();
     $this->collection = $connector->testCollection();
     $facade = new Provider($this->collection);
     $this->repo = $facade->createRepository($this->createStage());
 }
Пример #3
0
 protected function setUp()
 {
     $this->refl = new \ReflectionClass('tests\\Yuurei\\Fixtures\\Branch');
     $test = new ConnectorTest();
     $this->collection = $test->testCollection();
     $facade = new Provider($this->collection);
     $this->repo = $facade->createRepository($this->createBuilder());
 }