/** * Defining new unknown resource type via plugin loader and handling it */ public function testCtxLoader() { Parser\TypeLoader::addResourceDirectory("Test\\Resource", __DIR__ . "/TestAsset/Resources"); $resp = $this->_callService("returnCtx"); $this->assertContains("Accept-language:", $resp->getResponse()); $this->assertContains("foo=bar", $resp->getResponse()); }
/** * Defining new unknown resource type via plugin loader and handling it */ public function testCtxLoader() { $this->markTestSkipped('Plugin loader implementation needs to be revisited'); Parser\TypeLoader::addResourceDirectory("Test\\Resource", __DIR__ . "/TestAsset/Resources"); $resp = $this->_callService("returnCtx"); $this->assertContains("Accept-language:", $resp->getResponse()); $this->assertContains("foo=bar", $resp->getResponse()); }