Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 2 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
29 | public function testPluginSetsCorrectEncoding() |
||
30 | { |
||
31 | $message = $this->prophesize(Message::class); |
||
32 | $message->setEncoding('UTF-8'); |
||
33 | $event = new ComposerEvent(); |
||
34 | $event->setMessage($message->reveal()); |
||
35 | $this->plugin->setEncoding('UTF-8'); |
||
36 | $this->plugin->setMessageEncoding($event); |
||
37 | $this->assertEquals('UTF-8', $this->plugin->getEncoding()); |
||
38 | } |
||
39 | |||
46 |