testGetContainerExtension()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
c 1
b 0
f 0
dl 0
loc 6
rs 10
cc 1
nc 1
nop 0
1
<?php
2
3
/*
4
 * This file is part of the haveibeenpwned-bundle package.
5
 *
6
 * (c) 2019 WEBEWEB
7
 *
8
 * For the full copyright and license information, please view the LICENSE
9
 * file that was distributed with this source code.
10
 */
11
12
namespace WBW\Bundle\HaveIBeenPwnedBundle\Tests;
13
14
use WBW\Bundle\HaveIBeenPwnedBundle\DependencyInjection\WBWHaveIBeenPwnedExtension;
15
use WBW\Bundle\HaveIBeenPwnedBundle\WBWHaveIBeenPwnedBundle;
16
17
/**
18
 * HaveIBeenPwned bundle test.
19
 *
20
 * @author webeweb <https://github.com/webeweb>
21
 * @package WBW\Bundle\HaveIBeenPwnedBundle\Tests
22
 */
23
class WBWHaveIBeenPwnedBundleTest extends AbstractTestCase {
24
25
    /**
26
     * Tests getContainerExtension()
27
     *
28
     * @return void
29
     */
30
    public function testGetContainerExtension(): void {
31
32
        $obj = new WBWHaveIBeenPwnedBundle();
33
34
        $res = $obj->getContainerExtension();
35
        $this->assertInstanceOf(WBWHaveIBeenPwnedExtension::class, $res);
36
    }
37
}
38