PDF converter * distributed under the OSL-3.0 License * * @package Html2pdf * @author Laurent MINGUET * @copyright 2017 Laurent MINGUET */ namespace Spipu\Html2Pdf\Tests\Parsing; use Spipu\Html2Pdf\Tests\AbstractTest; /** * Class BackgroundOkTest */ class BackgroundOkTest extends AbstractTest { /** * test: The image src is unknown * * @return void */ public function testCase() { $object = $this->getObject(); $object->writeHTML('
Hello World
'); $result = $object->output('test.pdf', 'S'); $this->assertContains('PhpUnit Test', $result); } }