public function testImportAndMapCountableRecords()
{
$records = $this->porter->import((new StaticDataImportSpecification(new \ArrayIterator(range(1, $count = 10))))->setMapping(\Mockery::mock(Mapping::class)));
self::assertInstanceOf(CountableMappedRecords::class, $records->getPreviousCollection());
self::assertInstanceOf(\Countable::class, $records);
self::assertCount($count, $records);
}