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