function all() { $endpoint = 'https://api.hubapi.com/companies/v2/properties/'; return $this->client->request('get', $endpoint); }
/** @test */ public function all() { $response = $this->companyProperties->all(); $this->assertEquals(200, $response->getStatusCode()); $this->assertGreaterThanOrEqual(2, count($response->getData())); }