You are here

protected function MediaEntityHelperTest::setUp in Media: Acquia DAM 8

Overrides UnitTestCase::setUp

File

tests/src/Unit/MediaEntityHelperTest.php, line 126

Class

MediaEntityHelperTest
Testing of the Media Entity helper class.

Namespace

Drupal\Tests\media_acquiadam\Unit

Code

protected function setUp() {
  parent::setUp();
  $this->container = new ContainerBuilder();
  $this
    ->setMockedDrupalServices($this->container);
  $this
    ->setMockedAcquiaDamServices($this->container);
  \Drupal::setContainer($this->container);
}