public function testMissingOption() { $opts = new Options(); $e = null; try { $opts->get(CURLOPT_ENCODING); } catch (Exception $e) { } $this->assertInstanceOf('cURL\\Exception', $e); }