public function testNoError()
 {
     $this->assertNull($this->adapter->getError());
     $this->assertNull($this->adapter->getStackTrace());
 }
예제 #2
0
 public function testError()
 {
     $this->adapter->setQuery('error');
     $this->assertEquals('500', $this->adapter->getError());
     $this->assertEquals('stacktrace', $this->adapter->getStackTrace());
 }