You are here

protected function WebformAssertLegacyTrait::assertIdentical in Webform 6.x

Same name and namespace in other branches
  1. 8.5 tests/src/Traits/WebformAssertLegacyTrait.php \Drupal\Tests\webform\Traits\WebformAssertLegacyTrait::assertIdentical()

See also

\Drupal\simpletest\TestBase::assertIdentical()

8 calls to WebformAssertLegacyTrait::assertIdentical()
WebformCompositeCustomFileTest::testCustom in tests/src/Functional/Composite/WebformCompositeCustomFileTest.php
Test custom composite element.
WebformCompositePluginFileTest::testPlugin in tests/src/Functional/Composite/WebformCompositePluginFileTest.php
Test composite plugin.
WebformEditorTest::testWebformConfigurationFiles in tests/src/Functional/WebformEditorTest.php
Tests webform configuration files.
WebformEditorTest::testWebformSettingsFiles in tests/src/Functional/WebformEditorTest.php
Tests webform entity settings files.
WebformElementManagedFilePrivateTest::testPrivateFiles in tests/src/Functional/Element/WebformElementManagedFilePrivateTest.php
Test private files.

... See full list

File

tests/src/Traits/WebformAssertLegacyTrait.php, line 40

Class

WebformAssertLegacyTrait
Provides convenience methods for assertions in browser tests.

Namespace

Drupal\Tests\webform\Traits

Code

protected function assertIdentical($expected, $actual, $message = '') {
  $this
    ->assertSame($expected, $actual, $message);
}