public function testHtml5() { Tag::$DocType = 'Primalbase\\Tag\\DocType\\Html5'; $this->assertEquals((string) Tag::br(), '<br>'); Tag::$codeFormat = true; $this->assertEquals('<!DOCTYPE html>' . PHP_EOL, Tag::docType()); Tag::$codeFormat = false; $this->assertEquals('<!DOCTYPE html>', Tag::docType()); }