/** * Return the value of a specific namespace. * * @return string|boolean */ public function getNamespace($namespace) { return $this->_namespace->getNamespace($namespace); }
public function testAddNamespace() { $name = new Services_Yadis_Xrds_Namespace(); $name->addNamespace('test', 'http://example.com/test'); $this->assertEquals('http://example.com/test', $name->getNamespace('test')); }