coreTranslator = $this->createMock(Translator::class); $this->integrationHelper = $this->createMock(IntegrationHelper::class); $this->integration = new FoursquareIntegration( $this->dispatcher, $this->cache, $this->em, $this->request, $this->router, $this->coreTranslator, $this->logger, $this->encryptionHelper, $this->leadModel, $this->companyModel, $this->pathsHelper, $this->notificationModel, $this->fieldModel, $this->fieldsWithUniqueIdentifier, $this->integrationEntityModel, $this->doNotContact, $this->integrationHelper, ); } public function testGetFormTypeReturnsNull(): void { // @phpstan-ignore-next-line - Intentional null check $this->assertNull($this->integration->getFormType()); } }