public function setup() { $this->vacancyMock = \Mockery::mock(VacancyRepositoryInterface::class); $this->requestMock = \Mockery::mock(Request::class); $this->responseMock = \Mockery::mock(ResponseFactory::class); $this->instance = new VacancyController($this->vacancyMock, $this->requestMock, $this->responseMock); parent::setUp(); }
public function get($uri, array $headers = []) { return parent::get('api/v1/' . $uri, $headers); }