public function SMTPConfigFormTest::testGetFormId in SMTP Authentication Support 8
Test form id.
File
- tests/
src/ Unit/ SMTPConfigFormTest.php, line 116
Class
- SMTPConfigFormTest
- Validate requirements for SMTPConfigForm.
Namespace
Drupal\Tests\smtp\UnitCode
public function testGetFormId() {
$formBuilder = SMTPConfigForm::create($this->mockContainer
->reveal());
$form_id = $formBuilder
->getFormId();
$this
->assertEquals('smtp_admin_settings', $form_id);
}