| Total Complexity | 2 |
| Total Lines | 17 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 24 | */ |
||
| 25 | class SplitCamelCaseWordsFormatterTest extends TestCase |
||
| 26 | { |
||
| 27 | public function testSplitCamelCase() |
||
| 28 | { |
||
| 29 | $ccHeader = ['', 'stay_the_same', 'TestStringOne', 'TestStringTwo', 'TestABBRStrings', 'camelCase']; |
||
| 30 | $expected = ['', 'stay_the_same', 'Test String One', 'Test String Two', 'Test ABBR Strings', 'camel Case']; |
||
| 31 | |||
| 32 | $this->assertEquals($expected, SplitCamelCaseWordsFormatter::format($ccHeader)); |
||
| 33 | } |
||
| 34 | } |
||
| 35 |