Pinq\Tests\Integration\Queries\QueryParsingTest::testNestedOperationsQueryWithRequiredSimplificationInScope PHP Method

testNestedOperationsQueryWithRequiredSimplificationInScope() public method

    public function testNestedOperationsQueryWithRequiredSimplificationInScope()
    {
        $this->assertRequestIsCorrect(function (IQueryable $queryable) {
            return $queryable->whereIn($this->getThis()->getThis()->queryable->keys());
        }, $this->scopeRequest([new Q\Segments\Operation(Q\Segments\Operation::WHERE_IN, $this->scopeSource([new Q\Segments\Keys()]))]));
    }