Security update for Core, with self-updated composer
[yaffs-website] / vendor / masterminds / html5 / test / HTML5 / TestCase.php
diff --git a/vendor/masterminds/html5/test/HTML5/TestCase.php b/vendor/masterminds/html5/test/HTML5/TestCase.php
new file mode 100644 (file)
index 0000000..3cb8645
--- /dev/null
@@ -0,0 +1,27 @@
+<?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;
+    }
+}