Conditions | 1 |
Paths | 1 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php declare(strict_types=1); |
||
32 | public function testSplitCamelCase() |
||
33 | { |
||
34 | $ccHeader = ['TestString', 'TheseShouldSeparate', 'AndCSVShouldWork', 'andThisShouldWork']; |
||
35 | $expected = ['Test String', 'These Should Separate', 'And CSV Should Work', 'and This Should Work']; |
||
36 | |||
37 | $formatter = new SplitCamelCaseWordsFormatter(); |
||
38 | $formattedHeader = $formatter->format($ccHeader); |
||
39 | |||
40 | $this->assertEquals($expected, $formattedHeader); |
||
41 | } |
||
43 |