enableExceptions(true); $s = $c->prepare("SELECT ? as value"); $this->c = $c; $this->s = $s; } function tearDown() { try {$this->s->close();} catch(\Exception $e) {} $this->c->close(); unset($this->s); unset($this->c); } function testConstructStatement() { $this->assertInstanceOf(Db\StatementSQLite3::class, new Db\StatementSQLite3($this->c, $this->s)); } }