Conditions | 2 |
Paths | 2 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
51 | public function testNeedsConversion($parameters, $output, $expected) |
||
52 | { |
||
53 | $converter = new ArticlesListParametersConverter(); |
||
54 | |||
55 | if ($expected) { |
||
56 | $this->assertSame($output, $converter->convert($parameters)); |
||
57 | } else { |
||
58 | $this->assertNotSame($output, $converter->convert($parameters)); |
||
59 | } |
||
60 | } |
||
61 | } |
||
62 |