Spaces:
No application file
No application file
File size: 1,073 Bytes
d2897cd |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 |
<?php
namespace MauticPlugin\MauticCrmBundle\Tests;
use Mautic\PluginBundle\Tests\Integration\AbstractIntegrationTestCase;
use MauticPlugin\MauticCrmBundle\Integration\DynamicsIntegration;
class DynamicsIntegrationTest extends AbstractIntegrationTestCase
{
private DynamicsIntegration $integration;
protected function setUp(): void
{
parent::setUp();
$this->integration = new DynamicsIntegration(
$this->dispatcher,
$this->cache,
$this->em,
$this->session,
$this->request,
$this->router,
$this->translator,
$this->logger,
$this->encryptionHelper,
$this->leadModel,
$this->companyModel,
$this->pathsHelper,
$this->notificationModel,
$this->fieldModel,
$this->integrationEntityModel,
$this->doNotContact
);
}
public function testIntegration(): void
{
$this->assertSame('Dynamics', $this->integration->getName());
}
}
|