ScriptFUSIONTest\Unit\Porter\Mapper\Strategy\SubImportTest::testImport PHP Method

testImport() public method

public testImport ( )
    public function testImport()
    {
        self::assertNull($this->import());
        $this->porter->shouldReceive('import')->andReturn(new \ArrayIterator($array = range(1, 5)));
        self::assertSame($array, $this->import());
    }