Completed
Push — master ( d7c148...f76de2 )
by Nikola
02:27
created

ConstantNamerTest::testGetsName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 5
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
c 1
b 0
f 1
dl 0
loc 5
rs 9.4286
cc 1
eloc 3
nc 1
nop 0
1
<?php
2
/*
3
 * This file is part of the Backup package, an RunOpenCode project.
4
 *
5
 * (c) 2015 RunOpenCode
6
 *
7
 * For the full copyright and license information, please view the LICENSE
8
 * file that was distributed with this source code.
9
 *
10
 * This project is fork of "kbond/php-backup", for full credits info, please
11
 * view CREDITS file that was distributed with this source code.
12
 */
13
namespace RunOpenCode\Backup\Tests\Namer;
14
15
use RunOpenCode\Backup\Namer\Constant;
16
17
class ConstantNamerTest extends \PHPUnit_Framework_TestCase
18
{
19
    public function testGetsName()
20
    {
21
        $namer = new Constant('backup');
22
        $this->assertSame('backup', $namer->getName());
23
    }
24
}