templatePathFormAndView = new TemplatePathFormAndView(self::FILE, self::FOLDER); } public function testTypeReload(): void { foreach (RESTResponseType::getValues() as $type) { $this->templatePathFormAndView->reloadType($type); $this->assertEquals(self::BASE_PATH.$type.'.twig', $this->templatePathFormAndView->getView()->getAtomTemplatePath()); } } }