<?phpnamespaceZotlabs\Tests\Fakes;require_once'include/dba/dba_pdo.php';/** * Fake dba_driver implementation. * * This is a subclass of the dba_pdo class, that essentially lets us inject a * stub for the PDO class that is the actual database driver. */classFakeDbaextends\dba_pdo{publicfunction__construct($stub){$this->db=$stub;$this->connected=true;}}