Total Complexity | 2 |
Total Lines | 16 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
15 | class StrToLowerTest extends AbstractRule |
||
16 | { |
||
17 | /** |
||
18 | * Test that all characters are properly uppercased. |
||
19 | */ |
||
20 | public function testStrToLower() |
||
21 | { |
||
22 | $this->assertRuleResults([], [], ['value' => 'My tEsT'], 'my test'); |
||
23 | } |
||
24 | |||
25 | /** |
||
26 | * @inheritdoc |
||
27 | */ |
||
28 | protected function getRule() |
||
29 | { |
||
30 | return new StrToLower(new NullLogger()); |
||
31 | } |
||
32 | } |