Passed
Pull Request — master (#1)
by Alex
02:35
created

EventDispatcherFactoryTest::testIsCallable()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 2
nc 1
nop 0
dl 0
loc 5
rs 10
c 0
b 0
f 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace ArpTest\LaminasEvent\Factory;
6
7
use Arp\LaminasEvent\Factory\EventDispatcherFactory;
8
use PHPUnit\Framework\Exception;
9
use PHPUnit\Framework\ExpectationFailedException;
10
use PHPUnit\Framework\TestCase;
11
12
/**
13
 * @author  Alex Patterson <[email protected]>
14
 * @package ArpTest\LaminasEvent\Factory
15
 */
16
final class EventDispatcherFactoryTest extends TestCase
17
{
18
    /**
19
     * Assert the factory is callable
20
     *
21
     * @throws Exception
22
     * @throws ExpectationFailedException
23
     */
24
    public function testIsCallable(): void
25
    {
26
        $factory = new EventDispatcherFactory();
27
28
        $this->assertIsCallable($factory);
29
    }
30
}
31