$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 ::processFieldInstance
+ * @covers ::alterFieldInstanceMigration
*/
- public function testProcessFieldInstance() {
- $this->plugin->processFieldInstance($this->migration);
+ public function testAlterFieldInstanceMigration($method = 'alterFieldInstanceMigration') {
+ $this->plugin->$method($this->migration);
$expected = [
'plugin' => 'static_map',