public function setUp()
 {
     $this->data = (object) array('fairy' => array('name' => 'Trixie', 'tree' => (object) array('name' => 'Oak'), 'spells' => array((object) array('name' => 'Rain'))));
     $builder = new \PHPixie\ORM\Data\Types\Document\Builder();
     $this->document = new \PHPixie\ORM\Data\Types\Document\Node\Document($builder, $this->data);
     parent::setUp();
 }
 public function setUp()
 {
     $this->conditions = $this->quickMock('\\PHPixie\\ORM\\Conditions');
     $this->mappers = $this->quickMock('\\PHPixie\\ORM\\Mappers');
     $this->steps = $this->quickMock('\\PHPixie\\ORM\\Steps');
     $this->conditionsMapper = $this->quickMock('\\PHPixie\\ORM\\Mappers\\Conditions');
     $this->method($this->mappers, 'conditions', $this->conditionsMapper, array());
     $this->subqueryStrategy = $this->quickMock('\\PHPixie\\ORM\\Planners\\Planner\\In\\Strategy\\Subquery');
     $this->multiqueryStrategy = $this->quickMock('\\PHPixie\\ORM\\Planners\\Planner\\In\\Strategy\\Multiquery');
     parent::setUp();
 }
 public function setUp()
 {
     $this->planners = $this->quickMock('\\PHPixie\\ORM\\Planners');
     $this->steps = $this->quickMock('\\PHPixie\\ORM\\Steps');
     $this->database = $this->quickMock('\\PHPixie\\ORM\\Database');
     $this->plannerMocks = array('query' => $this->quickMock('\\PHPixie\\ORM\\Planners\\Planner\\Query'), 'in' => $this->quickMock('\\PHPixie\\ORM\\Planners\\Planner\\In'));
     foreach ($this->plannerMocks as $name => $planner) {
         $this->method($this->planners, $name, $planner, array());
     }
     $this->sqlStrategy = $this->quickMock('\\PHPixie\\ORM\\Planners\\Planner\\Pivot\\Strategy\\SQL');
     $this->multiqueryStrategy = $this->quickMock('\\PHPixie\\ORM\\Planners\\Planner\\Pivot\\Strategy\\Multiquery');
     parent::setUp();
 }
 public function setUp()
 {
     $this->sqlStrategy = $this->quickMock('\\PHPixie\\ORM\\Planners\\Planner\\Query\\Strategy\\SQL');
     $this->mongoStrategy = $this->quickMock('\\PHPixie\\ORM\\Planners\\Planner\\Query\\Strategy\\Mongo');
     parent::setUp();
 }
 public function setUp()
 {
     $this->steps = $this->quickMock('\\PHPixie\\ORM\\Steps');
     parent::setUp();
 }