Passed
Push — master ( 2c2666...fd60c2 )
by Edward
14:55 queued 05:07
created

ConfigFileTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 7
rs 10
c 0
b 0
f 0
wmc 1
1
<?php
2
3
namespace Remorhaz\UniLex\Example\SimpleExpr\Test\Grammar;
4
5
use PHPUnit\Framework\TestCase;
6
use Remorhaz\UniLex\Example\SimpleExpr\Grammar\ConfigFile;
7
8
/**
9
 * @covers \Remorhaz\UniLex\Example\SimpleExpr\Grammar\ConfigFile
10
 */
11
class ConfigFileTest extends TestCase
12
{
13
14
    public function testGetPath_Called_ReturnsStringgEndsWithConfigFileName(): void
15
    {
16
        $actualValue = ConfigFile::getPath();
17
        self::assertStringEndsWith(DIRECTORY_SEPARATOR . "Config.php", $actualValue);
18
    }
19
}
20