protected function getDomElementsFromFile($file) { $elementFinder = new DocumentElementFinder($file); return $elementFinder->getComponentsByTypeAttribute($this->getNameOfComponentUnderTest()); }
protected function getDomElementsFromFile($file) { $elementFinder = new DocumentElementFinder($file); $componentName = $this->getNameOfComponentUnderTest(); $componentName = end(array_values(explode('\\', $componentName))); return $elementFinder->getComponentsByTypeAttribute($componentName); }