public function testNoNs() { $this->setExpectedException('Goetas\\Xsd\\XsdToPhp\\PathGenerator\\PathGeneratorException'); $generator = new Psr4PathGenerator(array('myns2\\' => $this->tmpdir)); $generator->getPath(array('myns\\Bar' => true)); }