Completed
Push — master ( 3a75ac...d68dc3 )
by Alejandro
23s
created

ConfigProviderTest   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 21
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Importance

Changes 0
Metric Value
dl 0
loc 21
rs 10
c 0
b 0
f 0
wmc 2
lcom 1
cbo 1

2 Methods

Rating   Name   Duplication   Size   Complexity  
A setUp() 0 4 1
A configIsReturned() 0 5 1
1
<?php
2
declare(strict_types=1);
3
4
namespace ShlinkioTest\Shlink\Installer;
5
6
use PHPUnit\Framework\TestCase;
7
use Shlinkio\Shlink\Installer\ConfigProvider;
8
9
class ConfigProviderTest extends TestCase
10
{
11
    /**
12
     * @var ConfigProvider
13
     */
14
    protected $configProvider;
15
16
    public function setUp()
17
    {
18
        $this->configProvider = new ConfigProvider();
19
    }
20
21
    /**
22
     * @test
23
     */
24
    public function configIsReturned()
25
    {
26
        $config = $this->configProvider->__invoke();
27
        $this->assertEmpty($config);
28
    }
29
}
30