Passed
Push — master ( 9280cd...76fe10 )
by Simon
02:08
created

ConfigurationTest::testBaseParameters()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 10
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 10
rs 9.4285
c 0
b 0
f 0
cc 1
eloc 5
nc 1
nop 0
1
<?php
2
3
/*
4
 * This file is part of
5
 * 
6
 * (c) symball <http://simonball.me>
7
 * 
8
 * For the full copyright and license information, please view the LICENSE file 
9
 * that was distributed with this source code.
10
 */
11
namespace Symball\ReportBundle\Tests\Extension;
12
13
//use Matthias\SymfonyDependencyInjectionTest\PhpUnit\AbstractExtensionConfigurationTestCase;
14
use PHPUnit\Framework\TestCase;
15
16
use Matthias\SymfonyConfigTest\PhpUnit\ConfigurationTestCaseTrait;
17
use Symball\ReportBundle\DependencyInjection\SymballReportExtension;
18
use Symball\ReportBundle\DependencyInjection\Configuration;
19
/**
20
 * Description of ReportBundle
21
 *
22
 * @author Simon Ball <simonball at simonball dot me>
23
 */
24
class ConfigurationTest extends TestCase
25
{
26
    
27
    use ConfigurationTestCaseTrait;
28
    
29
    protected function getContainerExtension() {
30
       return new SymballReportExtension();
31
    }
32
    
33
    protected function getConfiguration()
34
    {
35
        return new Configuration();
36
    }
37
38
    public function testBaseParameters() {
39
        
40
        $this->assertConfigurationIsInvalid(
41
            array(
42
                array()
43
            ),
44
            'default_report_path'
45
        );
46
        
47
    }
48
49
}
50