コード例 #1
0
ファイル: ServerTest.php プロジェクト: fproject/phpamf
 /**
  * Add a class mapping and lookup the mapping to make sure
  * the mapping succeeds
  */
 public function testClassMap()
 {
     $this->_server->setClassMap('controller.test', 'Zend_Amf_testclass');
     $className = TypeLoader::getMappedClassName('Zend_Amf_testclass');
     $this->assertEquals('controller.test', $className);
 }