public function testCloneDatabase() { $db = DAL_DB::getInstance(); $clone = clone $db; //Are these instances exactly the same? $this->assertTrue($clone->getInstance() === $db->getInstance()); }
public function destroy() { //Get rid of this instance incase its misconfigured so it is recreated on the next call self::$_inst = null; }