/** * @expectedException RuntimeException */ public function setInvalidAuthType() { $proxy = new CurlProxy(); $proxy->setAuth(1337); }