TestDataTest::testGetYamlConfigFile()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 5
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
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