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

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

public testAddSubScope ( )
    public function testAddSubScope()
    {
        $this->assertOperationIsCorrect(function (IRepository $repository) {
            $repository->addRange($repository->where(function ($i) {
                return $i > 5;
            }));
        }, $this->addSubscopeQuery());
    }
QueryBuildingTestsTrait