Tests/Unit/Import/ImportSubQueryTest.php
/**
     * Tests behaviour of subQuery class with multi-result subquery.
     */
Tests behaviour of subQuery class with multi-result subquery.
Tests behaviour of subQuery class with multi - result subquery .
public function testImportSubQueryMulti()
    {
        $mockConnection = $this->getMockConnection(1, []);
        $subQuery = new ImportSubQuery(
            $mockConnection,
            'parentId',
            'keyFrom',
            'keyTo',
            'mockClass',
            'anyquery',
            ['test' => ImportSubQuery::PARENT_ID],
            '~~~'
        );
        $subQuery->execute(null, 0);
    }
public function testImportSubQueryMulti ( ) { $ mockConnection = $ this -> getMockConnection ( 1 , [ ] ) ; $ subQuery = new ImportSubQuery ( $ mockConnection , 'parentId' , 'keyFrom' , 'keyTo' , 'mockClass' , 'anyquery' , [ 'test' => ImportSubQuery :: PARENT_ID ] , '~~~' ) ; $ subQuery -> execute ( null , 0 ) ; }
Tests behaviour of subQuery class with multi-result subquery.
Tests behaviour of subQuery class with multi - result subquery .