WithMonologChannelTest.php 534 B

1234567891011121314151617181920212223
  1. <?php declare(strict_types=1);
  2. /*
  3. * This file is part of the Monolog package.
  4. *
  5. * (c) Jordi Boggiano <j.boggiano@seld.be>
  6. *
  7. * For the full copyright and license information, please view the LICENSE
  8. * file that was distributed with this source code.
  9. */
  10. namespace Monolog\Attribute;
  11. use PHPUnit\Framework\TestCase;
  12. class WithMonologChannelTest extends TestCase
  13. {
  14. public function test(): void
  15. {
  16. $attribute = new WithMonologChannel('fixture');
  17. $this->assertSame('fixture', $attribute->channel);
  18. }
  19. }