/**
* The iterator plugin being tested.
*
- * @var \Drupal\migrate\Plugin\migrate\process\TestIterator
+ * @var \Drupal\migrate\Plugin\migrate\process\Iterator
*/
protected $plugin;
* Tests the iterator process plugin.
*
* @group legacy
+ * @expectedDeprecation The Drupal\migrate\Plugin\migrate\process\Iterator is deprecated in Drupal 8.4.x and will be removed before Drupal 9.0.0. Instead, use Drupal\migrate\Plugin\migrate\process\SubProcess
*/
public function testIterator() {
$migration = $this->getMigration();