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

EventDispatcherFactoryTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Importance

Changes 2
Bugs 0 Features 0
Metric Value
eloc 3
dl 0
loc 13
rs 10
c 2
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A testIsCallable() 0 5 1
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