public function testApiCreateProcessor_ReturnsProcessorWithRightArguments_ForValidMonologProcessorSpecifiedByClass()
{
$factory = $this->createLoggerFactory();
$tags = ['tag' => 'myTag'];
$handler = $factory->createProcessor(TagProcessor::class, [$tags]);
$this->assertInstanceOf(TagProcessor::class, $handler);
$this->assertSame(['extra' => ['tags' => $tags]], $handler(['extra' => []]));
}