Completed
Push — master ( 3a75c3...4b4c57 )
by Rafael
04:18
created

IdenticalPropertyNamingStrategyTest   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 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 2
dl 0
loc 8
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A testTransformName() 0 5 1
1
<?php
2
3
/**
4
 * LICENSE: This file is subject to the terms and conditions defined in
5
 * file 'LICENSE', which is part of this source code package.
6
 *
7
 * @copyright 2016 Copyright(c) - All rights reserved.
8
 */
9
10
namespace Rafrsr\LibArray2Object\Tests\Naming;
11
12
use Rafrsr\LibArray2Object\Naming\IdenticalNamingStrategy;
13
14
class IdenticalPropertyNamingStrategyTest extends \PHPUnit_Framework_TestCase
15
{
16
    public function testTransformName()
17
    {
18
        $strategy = new IdenticalNamingStrategy();
19
        static::assertEquals('test', $strategy->transformName('test'));
20
    }
21
}
22