/** * Resources belonging to a module within a compound namespace must pass the validation */ public function testValidateParamResourceCompoundModuleNamespace() { $this->_model->validateParam('resource', 'TheCompoundNamespace_TheCompoundModule::resource'); }
/** * Set Item config dependency * * @param string $configPath * @return $this * @throws \InvalidArgumentException */ public function setConfigDependency($configPath) { $this->_validator->validateParam('dependsOnConfig', $configPath); $this->_dependsOnConfig = $configPath; return $this; }