You are here

public function TargetTest::testInvalidBasePath in Drupal 7 to 8/9 Module Upgrader 8

@expectedException \RuntimeException

File

tests/src/Unit/TargetTest.php, line 34

Class

TargetTest
@group DMU

Namespace

Drupal\Tests\drupalmoduleupgrader\Unit

Code

public function testInvalidBasePath() {

  // Trying to create a target with an invalid path should instantly
  // throw an exception.
  new Target('foobar', $this->container);
}