Passed
Push — master ( 9792fc...04e5e0 )
by Tim
06:59
created

DependencyInjectionTest::testIO()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 8
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
cc 1
eloc 4
c 1
b 0
f 0
nc 1
nop 0
dl 0
loc 8
rs 10
1
<?php
2
3
namespace SimpleSAML\Module\monitor\Test;
4
5
use SimpleSAML\Module\monitor\DependencyInjection;
6
7
/**
8
 * Tests for DependencyInjection
9
 */
10
class DependencyInjectionTest extends \PHPUnit\Framework\TestCase
11
{
12
    public function testIO(): void
13
    {
14
        $variables = [
15
            'test' => 'test',
16
        ];
17
        $di = new DependencyInjection($variables);
18
19
        $this->assertEquals('test', $di->get('test'));
20
    }
21
}
22