public function testTransform($value,
$expected) { $executable =
$this->
prophesize(MigrateExecutableInterface::
class) ->
reveal();
if (empty($row)) { $row =
$this->
prophesize(Row::
class)->
reveal();
} $plugin =
new BlockSettings([], 'block_settings',
[]);
$actual =
$plugin->
transform($value,
$executable,
$row, 'foo'
);
$this->
assertSame($expected,
$actual);
} /**
* Provides data for testTransform.
*/
public function providerTestTransform() { return [ 'title set' =>
[ [