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