protected function AssertLegacyTrait::assertNotEqual in Drupal 8
Same name and namespace in other branches
- 9 core/tests/Drupal/KernelTests/AssertLegacyTrait.php \Drupal\KernelTests\AssertLegacyTrait::assertNotEqual()
Deprecated Scheduled for removal in Drupal 10.0.0. Use self::assertNotEquals() instead.
See also
\Drupal\simpletest\TestBase::assertNotEqual()
66 calls to AssertLegacyTrait::assertNotEqual()
- AccessRoleTest::testRenderCaching in core/
modules/ user/ tests/ src/ Functional/ Views/ AccessRoleTest.php - Tests access on render caching.
- CacheTest::testTimeResultCachingWithFilter in core/
modules/ views/ tests/ src/ Kernel/ Plugin/ CacheTest.php - Tests result caching with filters.
- ConfigEntityTest::testCRUD in core/
modules/ config/ tests/ src/ Functional/ ConfigEntityTest.php - Tests CRUD operations.
- ConfigExportImportUITest::testExportImport in core/
modules/ config/ tests/ src/ Functional/ ConfigExportImportUITest.php - Tests a simple site export import case.
- ConfigImportUITest::testImportLock in core/
modules/ config/ tests/ src/ Functional/ ConfigImportUITest.php - Tests concurrent importing of configuration.
File
- core/
tests/ Drupal/ KernelTests/ AssertLegacyTrait.php, line 46
Class
- AssertLegacyTrait
- Translates Simpletest assertion methods to PHPUnit.
Namespace
Drupal\KernelTestsCode
protected function assertNotEqual($actual, $expected, $message = '') {
$this
->assertNotEquals($expected, $actual, (string) $message);
}