actionIconClassMap = new ActionIconClassMap(); } public function testException(): void { $this->expectException(NotSetElementException::class); $this->actionIconClassMap->getIconClass('wejfhwhke12'); } public function testAllActionsSet(): void { foreach (ActionType::getValues() as $action) { $this->assertIsString($this->actionIconClassMap->getIconClass($action)); } } }