Pinq\Tests\Integration\Queries\QueryBuildingTestsTrait::testTake PHP Метод

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

public testTake ( )
    public function testTake()
    {
        $this->assertRequestIsCorrect(function (IQueryable $queryable) {
            return $queryable->take(1);
        }, $this->takeQuery());
        $this->assertRequestIsCorrect(function (IQueryable $queryable) {
            return $queryable->slice(0, 1);
        }, $this->takeQuery());
    }
QueryBuildingTestsTrait