Completed
Push — master ( fefd2b...bbdd37 )
by Vincenzo
02:31
created

TextFormatterTest::testDoesConvertToCamelCase()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 6
rs 9.4285
cc 1
eloc 4
nc 1
nop 0
1
<?php
2
3
4
use App\Lib\Helpers\TextFormatter;
5
6
class TextFormatterTest extends PHPUnit_Framework_TestCase
7
{
8
9
    /**
10
     * @group Helpers
11
     * @group TextFormatter
12
     */
13
    public function testDoesConvertToCamelCase()
14
    {
15
        $string = "a_snake_case_string";
16
        $string = TextFormatter::snakeToCamelCase($string);
17
        $this->assertFalse(strstr($string, '_'));
18
    }
19
20
}
21