public function testImportTaggedResource()
{
$this->porter->registerProvider($provider = \Mockery::mock(Provider::class)->shouldReceive('fetch')->andReturn(new \ArrayIterator([$output = 'bar']))->getMock(), $tag = 'foo');
$records = $this->porter->import(MockFactory::mockImportSpecification(MockFactory::mockResource($provider)->shouldReceive('getProviderTag')->andReturn($tag)->getMock()));
self::assertSame($output, $records->current());
}