public function testImportAndFilterCountableRecords()
{
$records = $this->porter->import((new StaticDataImportSpecification(new \ArrayIterator(range(1, $count = 10))))->setFilter([$this, __FUNCTION__]));
// Innermost collection.
self::assertInstanceOf(\Countable::class, $records->findFirstCollection());
// Outermost collection.
self::assertNotInstanceOf(\Countable::class, $records);
}