/** @test */ public function getRecentlyCreatedWithCountAndOffset() { $params = ['count' => 2, 'offset' => 1]; $response = $this->companies->getRecentlyCreated($params); $this->assertEquals(200, $response->getStatusCode()); $this->assertCount(2, $response['results']); $this->assertEquals(3, $response['offset']); }
/** @test */ public function getRecentlyCreated() { $response = $this->companies->getRecentlyCreated(); $this->assertEquals(200, $response->getStatusCode()); $this->assertGreaterThan(2, $response['results']); }