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

ConfigServiceProviderTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

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

1 Method

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