protected function injectYamlParser() { $this->setPropertyValue($this->loader, 'yamlParser', $this->yamlParser->reveal()); }