getClass($entityClass); $this->assertEquals('Infinito\\Form\\Source\\PureSourceType', $entityForm); } public function testWithType(): void { $entityClass = PureSource::class; $formNameService = new FormClassNameService(); $entityForm = $formNameService->getClass($entityClass, ActionType::CREATE); $this->assertEquals('Infinito\\Form\\Source\\PureSourceCreateType', $entityForm); } }