public function testNamespace() { $function = new ReflectionFunction('Zend_Server_Reflection_FunctionTest_function'); $r = new Zend_Server_Reflection_Function($function, 'namespace'); $this->assertEquals('namespace', $r->getNamespace()); $r->setNamespace('framework'); $this->assertEquals('framework', $r->getNamespace()); }