public function testGetConnection() { $session = new Session('localhost'); $this->assertEquals('resource', gettype($session->getConnection())); }