You are here

protected function WorkspaceNormalizerTest::setUp in Replication 8

Overrides NormalizerTestBase::setUp

File

tests/src/Kernel/Normalizer/WorkspaceNormalizerTest.php, line 17

Class

WorkspaceNormalizerTest
Tests the workspace serialization format.

Namespace

Drupal\Tests\replication\Kernel\Normalizer

Code

protected function setUp() {
  parent::setUp();
  $name = $this
    ->randomMachineName();
  $this->entity = $this
    ->createWorkspace($name);
  $this->entity
    ->save();
}