You are here

public function AssetMediaFactoryTest::testGetEntityWrapper in Media: Acquia DAM 8

Validate that we get a wrapped media entity.

File

tests/src/Unit/AssetMediaFactoryTest.php, line 57

Class

AssetMediaFactoryTest
Class AssetMediaFactoryTest.

Namespace

Drupal\Tests\media_acquiadam\Unit

Code

public function testGetEntityWrapper() {
  $this
    ->assertInstanceOf($this->assetMediaFactory
    ->getAssetMediaEntityHelperClass(), $this->assetMediaFactory
    ->get($this->mediaEntity));
}