public function routePathIsShortenedByOneSegmentAfterSuccessfulMatch()
{
$this->dynamicRoutPart->setName('bar');
$this->dynamicRoutPart->setSplitString('/');
$routePath = 'bar/foo/test';
$this->dynamicRoutPart->match($routePath);
$this->assertSame('/foo/test', $routePath, 'Dynamic Route Part should shorten request path by one segment on successful match.');
}