You are here

public function StringInputStreamTest::testConstruct in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/masterminds/html5/test/HTML5/Parser/StringInputStreamTest.php \Masterminds\HTML5\Tests\Parser\StringInputStreamTest::testConstruct()

A canary test to make sure the basics are setup and working.

File

vendor/masterminds/html5/test/HTML5/Parser/StringInputStreamTest.php, line 12

Class

StringInputStreamTest

Namespace

Masterminds\HTML5\Tests\Parser

Code

public function testConstruct() {
  $s = new StringInputStream("abc");
  $this
    ->assertInstanceOf('\\Masterminds\\HTML5\\Parser\\StringInputStream', $s);
}