Files
loggerFactory/tests/Options/UidProcessorOptionTest.php
2025-05-02 15:35:39 +02:00

49 lines
1.2 KiB
PHP

<?php
/**
* Copyright (c) D3 Data Development (Inh. Thomas Dartsch)
*
* For the full copyright and license information, please view
* the LICENSE file that was distributed with this source code.
*
* https://www.d3data.de
*
* @copyright (C) D3 Data Development (Inh. Thomas Dartsch)
* @author D3 Data Development - Daniel Seifert <info@shopmodule.com>
* @link https://www.oxidmodule.com
*/
namespace D3\LoggerFactory\tests\Options;
use D3\LoggerFactory\Options\UidProcessorOption;
use D3\LoggerFactory\tests\AbstractTestCase;
use Monolog\Processor\UidProcessor;
use ReflectionException;
/**
* @coversNothing
*/
class UidProcessorOptionTest extends AbstractTestCase
{
/**
* @test
* @throws ReflectionException
* @covers \D3\LoggerFactory\Options\UidProcessorOption::__construct
* @covers \D3\LoggerFactory\Options\UidProcessorOption::getProcessor
*/
public function testConstruct(): void
{
$sut = new UidProcessorOption();
$handler = $this->callMethod(
$sut,
'getProcessor'
);
$this->assertInstanceOf(
UidProcessor::class,
$handler
);
}
}