Ejemplo n.º 1
0
 /**
  * Defining new unknown resource type via plugin loader and handling it
  *
  */
 public function testCtxLoader()
 {
     Zend_Amf_Parse_TypeLoader::addResourceDirectory("Test_Resource", dirname(__FILE__) . "/Resources");
     $resp = $this->_callService("returnCtx");
     $this->assertContains("Accept-language:", $resp->getResponse());
     $this->assertContains("foo=bar", $resp->getResponse());
 }