You are here

protected function AutoloadTestBase::setUp in Autoload 7.2

File

src/Tests/Unit/AutoloadTestBase.php, line 51

Class

AutoloadTestBase
Class UnitTest.

Namespace

Drupal\autoload\Tests\Unit

Code

protected function setUp() {
  $this->autoloadFile = drupal_get_path('module', 'autoload') . '/tests/autoload.php';
  parent::setUp(static::$modules);
  $this
    ->assertTrue(variable_get('autoload_file') === $this->autoloadFile, sprintf('The autoloading class map will be used from the "%s" file.', $this->autoloadFile));
}