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

ConfigProviderTest::configIsReturned()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
nc 1
nop 0
dl 0
loc 5
rs 10
c 0
b 0
f 0
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