class PardotFormMappingControllerTest in Pardot Integration 2.x
Provides automated tests for the pardot module.
Hierarchy
- class \Drupal\pardot\Tests\PardotFormMappingControllerTest extends \Drupal\simpletest\WebTestBase
Expanded class hierarchy of PardotFormMappingControllerTest
File
- tests/
Controller/ PardotFormMappingControllerTest.php, line 12
Namespace
Drupal\pardot\TestsView source
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.');
}
}
Members
Name![]() |
Modifiers | Type | Description | Overrides |
---|---|---|---|---|
PardotFormMappingControllerTest:: |
protected | property | Drupal\Core\Entity\EntityManagerInterface definition. | |
PardotFormMappingControllerTest:: |
protected | property | Drupal\Core\Entity\EntityTypeManagerInterface definition. | |
PardotFormMappingControllerTest:: |
public static | function | ||
PardotFormMappingControllerTest:: |
public | function | ||
PardotFormMappingControllerTest:: |
public | function | Tests pardot functionality. |