| Total Complexity | 2 | 
| Total Lines | 17 | 
| Duplicated Lines | 0 % | 
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1);  | 
            ||
| 24 | class UpperCaseWordsFormatterTest extends TestCase  | 
            ||
| 25 | { | 
            ||
| 26 | public function testCreateFormatter()  | 
            ||
| 27 |     { | 
            ||
| 28 | $formatter = new UpperCaseWordsFormatter();  | 
            ||
| 29 | $this->assertNotNull($formatter);  | 
            ||
| 30 | }  | 
            ||
| 31 | |||
| 32 | public function testConvertsLowerCaseToUpperCase()  | 
            ||
| 33 |     { | 
            ||
| 34 | $testLowerCaseHeader = ['first name', 'last_name', 'email-address', 'user.id'];  | 
            ||
| 35 | $testUpperCaseHeader = ['First Name', 'Last_Name', 'Email-Address', 'User.Id'];  | 
            ||
| 36 | |||
| 37 | $this->assertEquals($testUpperCaseHeader, UpperCaseWordsFormatter::format($testLowerCaseHeader));  | 
            ||
| 38 | }  | 
            ||
| 39 | }  | 
            ||
| 40 |