Goetas\Xsd\XsdToPhp\Tests\Converter\AbstractXsdConverterTest::testNamespaces PHP Method

testNamespaces() public method

public testNamespaces ( )
    public function testNamespaces()
    {
        $this->converter->addNamespace('http://www.example.com', 'some\\php\\ns');
        $namespaces = \PHPUnit_Framework_Assert::readAttribute($this->converter, 'namespaces');
        $this->assertArrayHasKey('http://www.example.com', $namespaces);
        $this->assertEquals('some\\php\\ns', $namespaces['http://www.example.com']);
    }