/** @test */ public function getById() { //Ensure that we have a company to fetch $newCompanyResponse = $this->createCompany(); $id = $newCompanyResponse['companyId']; $response = $this->companies->getById($id); $this->assertEquals(200, $response->getStatusCode()); $this->assertEquals($id, $response['companyId']); }