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

testRemoveSubScope() public method

public testRemoveSubScope ( )
    public function testRemoveSubScope()
    {
        $this->assertOperationIsCorrect(function (IRepository $repository) {
            $repository->removeRange($repository->where(function ($i) {
                return $i < 3;
            }));
        }, $this->removeSubscopeQuery());
    }
QueryBuildingTestsTrait