seregazhuk\tests\helpers\ResponseHelper::assertIsPaginatedResponse PHP Метод

assertIsPaginatedResponse() публичный Метод

public assertIsPaginatedResponse ( mixed $response, integer $count = 2 )
$response mixed
$count integer
    public function assertIsPaginatedResponse($response, $count = 2)
    {
        $this->assertInstanceOf(\Traversable::class, $response);
        $this->assertCount($count, iterator_to_array($response));
    }