3cb86454750f235cef5a9704cf53004c93d1313f
[yaffs-website] / vendor / masterminds / html5 / test / HTML5 / TestCase.php
1 <?php
2 namespace Masterminds\HTML5\Tests;
3
4 use Masterminds\HTML5;
5
6 class TestCase extends \PHPUnit_Framework_TestCase
7 {
8
9     const DOC_OPEN = '<!DOCTYPE html><html><head><title>test</title></head><body>';
10
11     const DOC_CLOSE = '</body></html>';
12
13     public function testFoo()
14     {
15         // Placeholder. Why is PHPUnit emitting warnings about no tests?
16     }
17
18     public function getInstance(array $options = array())
19     {
20         return new HTML5($options);
21     }
22
23     protected function wrap($fragment)
24     {
25         return self::DOC_OPEN . $fragment . self::DOC_CLOSE;
26     }
27 }