You are here

public function ContentLoaderTestBase::setUp in YAML Content 8

Overrides UnitTestCase::setUp

File

tests/src/Unit/ContentLoader/ContentLoaderTestBase.php, line 66

Class

ContentLoaderTestBase
Base test class for all ContentLoader testing.

Namespace

Drupal\Tests\yaml_content\Unit\ContentLoader

Code

public function setUp() {
  parent::setUp();

  // Prepare the directory structure.
  $this->root = vfsStream::setup('root');
  vfsStream::newDirectory('content')
    ->at($this->root);
  $this->contentLoader = $this
    ->getContentLoaderMock();
}