This repository has been archived on 2025-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
drupalcampbristol/vendor/masterminds/html5/test/HTML5/TestCase.php
2018-11-23 12:29:20 +00:00

28 lines
583 B
PHP

<?php
namespace Masterminds\HTML5\Tests;
use Masterminds\HTML5;
class TestCase extends \PHPUnit_Framework_TestCase
{
const DOC_OPEN = '<!DOCTYPE html><html><head><title>test</title></head><body>';
const DOC_CLOSE = '</body></html>';
public function testFoo()
{
// Placeholder. Why is PHPUnit emitting warnings about no tests?
}
public function getInstance(array $options = array())
{
return new HTML5($options);
}
protected function wrap($fragment)
{
return self::DOC_OPEN . $fragment . self::DOC_CLOSE;
}
}