$migration = $this->prophesize(MigrationInterface::class);
- // The plugin's processFieldInstance() method will call
+ // The plugin's alterFieldInstanceMigration() method will call
// mergeProcessOfProperty() and return nothing. So, in order to examine the
// process pipeline created by the plugin, we need to ensure that
// getProcess() always returns the last input to mergeProcessOfProperty().
}
/**
- * @covers ::processCckFieldValues
- * @expectedDeprecation CckFieldPluginBase is deprecated in Drupal 8.3.x and will be be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Plugin\migrate\field\FieldPluginBase instead.
- * @expectedDeprecation MigrateCckFieldInterface is deprecated in Drupal 8.3.x and will be removed before Drupal 9.0.x. Use \Drupal\migrate_drupal\Annotation\MigrateField instead.
+ * @covers ::alterFieldInstanceMigration
*/
- public function testProcessCckFieldValues() {
- $this->plugin->processFieldInstance($this->migration);
+ public function testAlterFieldInstanceMigration($method = 'alterFieldInstanceMigration') {
+ $this->plugin->$method($this->migration);
$expected = [
'plugin' => 'static_map',