| 1234567891011121314151617181920212223242526272829303132333435 |
- <?php
- namespace Test\Michel\Debug;
- use Michel\Debug\Output\VarDumperOutput\HtmlOutput;
- use Michel\UniTester\TestCase;
- class HtmlOutputTest extends TestCase
- {
- protected function setUp(): void
- {
- // TODO: Implement setUp() method.
- }
- protected function tearDown(): void
- {
- // TODO: Implement tearDown() method.
- }
- protected function execute(): void
- {
- $this->testInspectItem();
- }
- public function testInspectItem(): void
- {
- $output = function (string $dumped) {
- $this->assertTrue(strip_tags($dumped) !== $dumped);
- };
- $htmlOutput = new HtmlOutput(5, $output);
- $htmlOutput->print(['key' => 'value']);
- }
- }
|