Passed
Pull Request — master (#5)
by Alex
02:05
created

testImplementsServiceProviderInterface()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 2
c 1
b 0
f 1
dl 0
loc 5
rs 10
nc 1
nop 0
cc 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace ArpTest\Container\Provider;
6
7
use Arp\Container\Provider\ConfigServiceProvider;
8
use Arp\Container\Provider\ServiceProviderInterface;
9
use PHPUnit\Framework\TestCase;
10
11
/**
12
 * @covers \Arp\Container\Provider\ConfigServiceProvider
13
 *
14
 * @author  Alex Patterson <[email protected]>
15
 * @package ArpTest\Container\Provider
16
 */
17
final class ConfigServiceProviderTest extends TestCase
18
{
19
    /**
20
     * Assert that class implements ServiceProviderInterface
21
     */
22
    public function testImplementsServiceProviderInterface(): void
23
    {
24
        $serviceProvider = new ConfigServiceProvider([]);
25
26
        $this->assertInstanceOf(ServiceProviderInterface::class, $serviceProvider);
27
    }
28
}
29