public function StaticMapTest::testMapwithInvalidSource in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/migrate/tests/src/Unit/process/StaticMapTest.php \Drupal\Tests\migrate\Unit\process\StaticMapTest::testMapwithInvalidSource()
Tests when the source is invalid.
@expectedException \Drupal\migrate\MigrateSkipRowException
File
- core/
modules/ migrate/ tests/ src/ Unit/ process/ StaticMapTest.php, line 57 - Contains \Drupal\Tests\migrate\Unit\process\StaticMapTest.
Class
- StaticMapTest
- Tests the static map process plugin.
Namespace
Drupal\Tests\migrate\Unit\processCode
public function testMapwithInvalidSource() {
$this->plugin
->transform(array(
'bar',
), $this->migrateExecutable, $this->row, 'destinationproperty');
}