@covers ::processInbound

File

tests/src/Unit/SubPathautoTest.php, line 215

Class

SubPathautoTest
@coversDefaultClass \Drupal\subpathauto\PathProcessor @group subpathauto

Namespace

Drupal\Tests\subpathauto\Unit

Code

public function testInboundAlreadyProcessed() : void {
    // The subpath processor should ignore this and not pass it on to the
    // alias processor.
    $processed = $this->pathProcessor
        ->processInbound('node/1', Request::create('/content/first-node'));
    $this->assertEquals('node/1', $processed);
}