Passed
Branch master (4b23d6)
by Tim
04:40
created

DependencyInjectionTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 5
dl 0
loc 10
rs 10
c 0
b 0
f 0
wmc 1

1 Method

Rating   Name   Duplication   Size   Complexity  
A testIO() 0 8 1
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