You are here

public function FlysystemPathProcessorTest::testCorrectPathsAreProccessed in Flysystem 8

Same name and namespace in other branches
  1. 3.x tests/src/Unit/PathProcessor/FlysystemPathProcessorTest.php \Drupal\Tests\flysystem\Unit\PathProcessor\FlysystemPathProcessorTest::testCorrectPathsAreProccessed()
  2. 2.0.x tests/src/Unit/PathProcessor/FlysystemPathProcessorTest.php \Drupal\Tests\flysystem\Unit\PathProcessor\FlysystemPathProcessorTest::testCorrectPathsAreProccessed()
  3. 3.0.x tests/src/Unit/PathProcessor/FlysystemPathProcessorTest.php \Drupal\Tests\flysystem\Unit\PathProcessor\FlysystemPathProcessorTest::testCorrectPathsAreProccessed()

@covers ::processInbound

File

tests/src/Unit/PathProcessor/FlysystemPathProcessorTest.php, line 18

Class

FlysystemPathProcessorTest
@coversDefaultClass \Drupal\flysystem\PathProcessor\FlysystemPathProcessor @group flysystem

Namespace

Drupal\Tests\flysystem\Unit\PathProcessor

Code

public function testCorrectPathsAreProccessed() {
  $processor = new FlysystemPathProcessor();
  $this
    ->assertSame('beep', $processor
    ->processInbound('beep', new Request()));
  $this
    ->assertSame('/_flysystem/scheme', $processor
    ->processInbound('/_flysystem/scheme', new Request()));
}