Exemplo n.º 1
0
 public function testQuery_driver()
 {
     $this->assertEquals('PHPixie\\DB\\PDO\\Query', get_class($this->object->query_driver('pdo', $this->object->get(), 'select')));
 }
Exemplo n.º 2
0
 public function testGet()
 {
     $this->assertEquals('Model\\Fairy', get_class($this->object->get('fairy')));
     $this->assertEquals('Model\\Tree', get_class($this->object->get('tree')));
     $this->assertEquals(1, $this->object->get('fairy', 1)->id);
 }