diff --git a/tests/XML/ElementRegistryTest.php b/tests/XML/ElementRegistryTest.php new file mode 100644 index 00000000..293d069a --- /dev/null +++ b/tests/XML/ElementRegistryTest.php @@ -0,0 +1,37 @@ + $elements) { + foreach ($elements as $localName => $fqdn) { + $this->assertTrue(class_exists($fqdn), sprintf('Class \'%s\' could not be found.', $fqdn)); + $this->assertEquals($fqdn::getLocalName(), $localName); + $this->assertEquals($fqdn::getNamespaceURI(), $namespaceURI); + } + } + } +}