Total Complexity | 3 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
17 | class CapitalizeSubjectTest extends TestCase |
||
18 | { |
||
19 | public function testPassSuccess(): void |
||
20 | { |
||
21 | $msg = new CommitMessage('Foo'); |
||
22 | $rule = new CapitalizeSubject(); |
||
23 | |||
24 | $this->assertTrue($rule->pass($msg)); |
||
25 | } |
||
26 | |||
27 | public function testPassFail(): void |
||
33 | } |
||
34 | |||
35 | public function testPassFailOnEmptyMessage(): void |
||
41 | } |
||
42 | } |
||
43 |