| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | public function testEvent(): void |
||
| 21 | { |
||
| 22 | $dompdf = $this->createMock(Dompdf::class); |
||
| 23 | $html = "<h1>Foo</h1>Bar <b>baz</b><img src='img/foo'>"; |
||
| 24 | |||
| 25 | $event = new OutputEvent($dompdf, $html); |
||
| 26 | |||
| 27 | $this->assertInstanceOf(Dompdf::class, $event->getPdf()); |
||
| 28 | $this->assertSame($dompdf, $event->getPdf()); |
||
| 29 | $this->assertSame($html, $event->getHtml()); |
||
| 30 | } |
||
| 31 | } |
||
| 32 |