You are here

protected function WorkspaceNormalizerTest::setUp in Replication 8.2

Overrides NormalizerTestBase::setUp

File

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

Class

WorkspaceNormalizerTest
Tests the workspace serialization format.

Namespace

Drupal\Tests\replication\Unit\Normalizer

Code

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