private function createSubImport($specification = null)
{
$this->subImport = $subImport = new SubImport($specification ?: MockFactory::mockImportSpecification());
$subImport->setPorter($this->porter = \Mockery::mock(Porter::class)->shouldReceive('import')->andReturn(new \EmptyIterator())->byDefault()->getMock());
}