| Total Complexity | 4 | 
| Total Lines | 50 | 
| Duplicated Lines | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 1 | 
| 1 | <?php  | 
            ||
| 10 | class JunitOutputFormatterTest extends AbstractOutputFormatterTest  | 
            ||
| 11 | { | 
            ||
| 12 | public function testName(): void  | 
            ||
| 13 |     { | 
            ||
| 14 |         $this->assertName('junit'); | 
            ||
| 15 | }  | 
            ||
| 16 | |||
| 17 | public function testNoIssues(): void  | 
            ||
| 18 |     { | 
            ||
| 19 | $expectedOutput = <<<XML  | 
            ||
| 20 | <?xml version="1.0" encoding="UTF-8"?>  | 
            ||
| 21 | <testsuites  | 
            ||
| 22 | name="SARB" tests="1" failures="0">  | 
            ||
| 23 | <testsuite errors="0" tests="1" failures="0" name="Success">  | 
            ||
| 24 | <testcase name="Success"/>  | 
            ||
| 25 | </testsuite>  | 
            ||
| 26 | </testsuites>  | 
            ||
| 27 | |||
| 28 | XML;  | 
            ||
| 29 | |||
| 30 | $this->assertNoIssuesOutput($expectedOutput);  | 
            ||
| 31 | }  | 
            ||
| 32 | |||
| 33 | public function testWithIssues(): void  | 
            ||
| 55 | }  | 
            ||
| 56 | |||
| 57 | protected function getOutputFormatter(): OutputFormatter  | 
            ||
| 62 |