TestDataTest   A
last analyzed

Complexity

Total Complexity 2

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Importance

Changes 0
Metric Value
wmc 2
lcom 1
cbo 2
dl 0
loc 19
rs 10
c 0
b 0
f 0

2 Methods

Rating   Name   Duplication   Size   Complexity  
A testGetYamlConfigFile() 0 5 1
A testGetYamlTimerConfigFile() 0 4 1
1
<?php
2
/*
3
 * This file is part of the php-utilities package.
4
 *
5
 * (c) Marc Aschmann <[email protected]>
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 */
10
namespace Asm\Tests\Test;
11
12
use Asm\Test\TestData;
13
14
/**
15
 * Class TestDataTest
16
 *
17
 * @package Asm\Tests\Test
18
 * @author marc aschmann <[email protected]>
19
 */
20
class TestDataTest extends \PHPUnit_Framework_TestCase
21
{
22
    /**
23
     * @covers \Asm\Test\TestData::getYamlConfigFile
24
     */
25
    public function testGetYamlConfigFile()
26
    {
27
        $this->assertNotEmpty(TestData::getYamlConfigFile());
28
        $this->assertContains('testkey_1:', TestData::getYamlConfigFile());
29
    }
30
31
    /**
32
     * @covers \Asm\Test\TestData::getYamlTimerConfigFile
33
     */
34
    public function testGetYamlTimerConfigFile()
35
    {
36
        $this->assertNotEmpty(TestData::getYamlTimerConfigFile());
37
    }
38
}
39