public function testNoError()
 {
     $this->assertNull($this->adapter->getError());
     $this->assertNull($this->adapter->getStackTrace());
 }
Ejemplo n.º 2
0
 public function testError()
 {
     $this->adapter->setQuery('error');
     $this->assertEquals('500', $this->adapter->getError());
     $this->assertEquals('stacktrace', $this->adapter->getStackTrace());
 }