protected function AssertLegacyTrait::assertNotEqual in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/tests/Drupal/KernelTests/AssertLegacyTrait.php \Drupal\KernelTests\AssertLegacyTrait::assertNotEqual()
Deprecated
Scheduled for removal in Drupal 9.0.0. Use self::assertNotEquals() instead.
See also
\Drupal\simpletest\TestBase::assertNotEqual()
File
- core/
tests/ Drupal/ KernelTests/ AssertLegacyTrait.php, line 71 - Contains \Drupal\KernelTests\AssertLegacyTrait.
Class
- AssertLegacyTrait
- Translates Simpletest assertion methods to PHPUnit.
Namespace
Drupal\KernelTestsCode
protected function assertNotEqual($actual, $expected, $message = '') {
$this
->assertNotEquals($expected, $actual, $message);
}