Пример #1
0
 /** @test */
 public function getRecentlyModifiedWithCountAndOffset()
 {
     $params = ['count' => 2, 'offset' => 1];
     $response = $this->companies->getRecentlyModified($params);
     $this->assertEquals(200, $response->getStatusCode());
     $this->assertCount(2, $response['results']);
     $this->assertEquals(3, $response['offset']);
 }
Пример #2
0
 /** @test */
 public function getRecentlyModified()
 {
     $response = $this->companies->getRecentlyModified();
     $this->assertEquals(200, $response->getStatusCode());
     $this->assertGreaterThan(2, $response['results']);
 }