WithMonologChannelTest.php 281 B

123456789101112131415
  1. <?php
  2. namespace Monolog\Attribute;
  3. use PHPUnit\Framework\TestCase;
  4. class WithMonologChannelTest extends TestCase
  5. {
  6. public function test(): void
  7. {
  8. $attribute = new WithMonologChannel('fixture');
  9. $this->assertSame('fixture', $attribute->channel);
  10. }
  11. }