Passed
Pull Request — master (#3)
by Alex
02:52 queued 01:07
created

testImplementsFactoryInterface()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 2
c 1
b 0
f 0
dl 0
loc 4
rs 10
cc 1
nc 1
nop 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace ArpTest\LaminasMonolog\Factory\Handler;
6
7
use Arp\LaminasFactory\FactoryInterface;
8
use Arp\LaminasMonolog\Factory\Handler\SyslogHandlerFactory;
9
use PHPUnit\Framework\TestCase;
10
11
/**
12
 * @covers \Arp\LaminasMonolog\Factory\Handler\SyslogHandlerFactory
13
 */
14
final class SyslogHandlerFactoryTest extends TestCase
15
{
16
    public function testImplementsFactoryInterface(): void
17
    {
18
        $handler = new SyslogHandlerFactory();
19
        $this->assertInstanceOf(FactoryInterface::class, $handler);
20
    }
21
}
22