Pinq\Tests\Integration\Queries\QueryBuildingTestsTrait::testCount PHP Method

testCount() public method

public testCount ( )
    public function testCount()
    {
        $this->assertRequestIsCorrect(function (IQueryable $queryable) {
            $queryable->count();
        }, $this->countQuery(), true);
        $this->assertRequestIsCorrect(function (IQueryable $queryable) {
            count($queryable);
        }, $this->countQuery(), true);
    }
QueryBuildingTestsTrait