Tests/Unit/Import/ImportIteratorTest.php
/**
     * Tests behaviour of ImportIterator with no subqueries present.
     */
Tests behaviour of ImportIterator with no subqueries present.
Tests behaviour of ImportIterator with no subqueries present .
public function testImportIterator()
    {
        $iterator = $this->getMockedImportIterator();
        foreach ($iterator as $key => $value) {
            $this->assertInstanceOf('ONGR\ConnectionsBundle\Pipeline\Item\ImportItem', $value);
        }
    }
public function testImportIterator ( ) { $ iterator = $ this -> getMockedImportIterator ( ) ; foreach ( $ iterator as $ key => $ value ) { $ this -> assertInstanceOf ( 'ONGR\ConnectionsBundle\Pipeline\Item\ImportItem' , $ value ) ; } }
Tests behaviour of ImportIterator with no subqueries present.
Tests behaviour of ImportIterator with no subqueries present .