public function OutputRulesTest::testWr in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/masterminds/html5/test/HTML5/Serializer/OutputRulesTest.php \Masterminds\HTML5\Tests\Serializer\OutputRulesTest::testWr()
File
- vendor/
masterminds/ html5/ test/ HTML5/ Serializer/ OutputRulesTest.php, line 367
Class
Namespace
Masterminds\HTML5\Tests\SerializerCode
public function testWr() {
list($o, $s) = $this
->getOutputRules();
$m = $this
->getProtectedMethod('wr');
$m
->invoke($o, 'foo');
$this
->assertEquals('foo', stream_get_contents($s, -1, 0));
}