public function testGetRequestParamSuccess() { $requestParam = "https://github.com/jelovac/bitly4laravel"; $this->model->setRequestParam('longUrl', $requestParam); $this->assertEquals($requestParam, $this->model->getRequestParam('longUrl')); }
/** * @expectedException \OutOfRangeException */ public function testGetRequestParamThrowsOutOfRangeException() { $model = new Model(); $model->getRequestParam('longUrl'); }