/** * @expectedException PHRequests\Exceptions\PHRequestsException */ public function testInvalidMethod() { \PHRequests\PHRequests::request('INVALID_METHOD', BASE_GET_URL . 'get'); }