public function testCallbackWithFunction() {
$this->plugin->setCallable('strtolower');
$value = $this->plugin->transform('FooBar', $this->migrateExecutable, $this->row, 'destinationproperty');
- $this->assertSame($value, 'foobar');
+ $this->assertSame('foobar', $value);
}
/**
public function testCallbackWithClassMethod() {
$this->plugin->setCallable(['\Drupal\Component\Utility\Unicode', 'strtolower']);
$value = $this->plugin->transform('FooBar', $this->migrateExecutable, $this->row, 'destinationproperty');
- $this->assertSame($value, 'foobar');
+ $this->assertSame('foobar', $value);
}
}