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