/** * Defining new unknown resource type, handler has no parse() * */ public function testCtxNoParse() { Parser\TypeLoader::setResourceLoader(new TestAsset\TestResourceLoader(3)); $this->setExpectedException('ZendAmf\\Exception\\RuntimeException', 'Could not call parse()'); $resp = $this->_callService("returnCtx"); }
/** * Defining new unknown resource type, handler has no parse() * */ public function testCtxNoParse() { $this->markTestSkipped('Plugin loader implementation needs to be revisited'); Parser\TypeLoader::setResourceLoader(new TestAsset\TestResourceLoader("3")); $this->setExpectedException('ZendAmf\\Exception\\RuntimeException', 'Could not call parse()'); $resp = $this->_callService("returnCtx"); }
/** * The server constructor */ public function __construct() { Parser\TypeLoader::setResourceLoader(new \ZendAmf\Parser\ParserLoader()); }