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

ConstantNamerTest   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 8
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A testGetsName() 0 5 1
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
}