You are here

PardotFormMappingControllerTest.php in Pardot Integration 2.x

File

tests/Controller/PardotFormMappingControllerTest.php
View source
<?php

namespace Drupal\pardot\Tests;

use Drupal\simpletest\WebTestBase;
use Drupal\Core\Entity\EntityManagerInterface;
use Drupal\Core\Entity\EntityTypeManagerInterface;

/**
 * Provides automated tests for the pardot module.
 */
class PardotFormMappingControllerTest extends WebTestBase {

  /**
   * Drupal\Core\Entity\EntityManagerInterface definition.
   *
   * @var \Drupal\Core\Entity\EntityManagerInterface
   */
  protected $entityManager;

  /**
   * Drupal\Core\Entity\EntityTypeManagerInterface definition.
   *
   * @var \Drupal\Core\Entity\EntityTypeManagerInterface
   */
  protected $entityTypeManager;

  /**
   * {@inheritdoc}
   */
  public static function getInfo() {
    return [
      'name' => "pardot PardotFormMappingController's controller functionality",
      'description' => 'Test Unit for module pardot and controller PardotFormMappingController.',
      'group' => 'Other',
    ];
  }

  /**
   * {@inheritdoc}
   */
  public function setUp() {
    parent::setUp();
  }

  /**
   * Tests pardot functionality.
   */
  public function testPardotFormMappingController() {

    // Check that the basic functions of module pardot.
    $this
      ->assertEquals(TRUE, TRUE, 'Test Unit Generated via Drupal Console.');
  }

}

Classes

Namesort descending Description
PardotFormMappingControllerTest Provides automated tests for the pardot module.