protected function setUp() { $test = new ConnectorTest(); $this->collection = $test->testCollection(); $facade = new Provider($this->collection); $this->repo = $facade->createRepository($this->createBuilder()); }
protected function setUp() { $connector = new \tests\Yuurei\Persistence\ConnectorTest(); $this->collection = $connector->testCollection(); $facade = new Provider($this->collection); $this->repo = $facade->createRepository($this->createStage()); }
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()); }