mirror of
https://github.com/jbcr/sitemap-plugin.git
synced 2026-03-24 17:02:19 +01:00
18 lines
455 B
PHP
18 lines
455 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace Tests\SitemapPlugin\Exception;
|
|
|
|
use PHPUnit\Framework\TestCase;
|
|
use SitemapPlugin\Exception\RouteExistsException;
|
|
|
|
final class RouteExistsExceptionTest extends TestCase
|
|
{
|
|
public function testException()
|
|
{
|
|
$exception = new RouteExistsException('test');
|
|
$this->assertSame('Sitemap route "test" already exists, probably a provider with a non-unique name', $exception->getMessage());
|
|
}
|
|
}
|