->will($this->returnValue('source_value'));
$this->plugin->setSource('test');
$value = $this->plugin->transform(NULL, $this->migrateExecutable, $this->row, 'destinationproperty');
- $this->assertSame($value, 'source_value');
+ $this->assertSame('source_value', $value);
}
/**
return $map[$argument];
}));
$value = $this->plugin->transform(NULL, $this->migrateExecutable, $this->row, 'destinationproperty');
- $this->assertSame($value, ['source_value1', 'source_value2']);
+ $this->assertSame(['source_value1', 'source_value2'], $value);
}
/**
->will($this->returnValue('source_value'));
$this->plugin->setSource('@@test');
$value = $this->plugin->transform(NULL, $this->migrateExecutable, $this->row, 'destinationproperty');
- $this->assertSame($value, 'source_value');
+ $this->assertSame('source_value', $value);
}
/**
return $map[$argument];
}));
$value = $this->plugin->transform(NULL, $this->migrateExecutable, $this->row, 'destinationproperty');
- $this->assertSame($value, ['source_value1', 'source_value2', 'source_value3', 'source_value4']);
+ $this->assertSame(['source_value1', 'source_value2', 'source_value3', 'source_value4'], $value);
}
/**