public function PathUtilityTest::testAddObject in Drupal 7 to 8/9 Module Upgrader 8
Same name in this branch
- 8 tests/src/Unit/Utility/Path/Drupal7/PathUtilityTest.php \Drupal\Tests\drupalmoduleupgrader\Unit\Utility\Path\Drupal7\PathUtilityTest::testAddObject()
- 8 tests/src/Unit/Utility/Path/Drupal8/PathUtilityTest.php \Drupal\Tests\drupalmoduleupgrader\Unit\Utility\Path\Drupal8\PathUtilityTest::testAddObject()
@expectedException \InvalidArgumentException
File
- tests/
src/ Unit/ Utility/ Path/ Drupal7/ PathUtilityTest.php, line 54
Class
- PathUtilityTest
- @group DMU.Utility.Path
Namespace
Drupal\Tests\drupalmoduleupgrader\Unit\Utility\Path\Drupal7Code
public function testAddObject() {
$this->path
->add(new \StdClass());
}