예제 #1
0
 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());
 }