You are here

public function DefaultWorkspaceNegotiatorTest::testGetWorkspaceId in Multiversion 8

Tests the getWorkspaceId() method.

File

tests/src/Unit/DefaultWorkspaceNegotiatorTest.php, line 54

Class

DefaultWorkspaceNegotiatorTest
@coversDefaultClass \Drupal\multiversion\Workspace\DefaultWorkspaceNegotiator @group multiversion

Namespace

Drupal\Tests\multiversion\Unit

Code

public function testGetWorkspaceId() {
  $this
    ->assertSame(1, $this->workspaceNegotiator
    ->getWorkspaceId($this->request));
}