/
githubmirror
/
symfony
Обзор
Документация
Войти
/
githubmirror
/
symfony
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
8.2
src/Symfony/Component/Notifier/Tests/Exception/MultipleExclusiveOptionsUsedExceptionTest.php
28 строк
816 B
Oskar Stark
[Notifier] [Telegram] Fix version and exception signature
13 окт 2023, 10:52
13 окт 2023, 10:52
74e0c9c
Код
Авторство
О чём код?
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Notifier\Tests\Exception; use PHPUnit\Framework\TestCase; use Symfony\Component\Notifier\Exception\MultipleExclusiveOptionsUsedException; class MultipleExclusiveOptionsUsedExceptionTest extends TestCase { public function testMessage() { $exception = new MultipleExclusiveOptionsUsedException(['foo', 'bar'], ['foo', 'bar', 'baz']); $this->assertSame( 'Multiple exclusive options have been used "foo", "bar". Only one of "foo", "bar", "baz" can be used.', $exception->getMessage() ); } }