You are here

protected function TrackChangesTest::assertTermDoesNotExist in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/migrate/tests/src/Kernel/TrackChangesTest.php \Drupal\Tests\migrate\Kernel\TrackChangesTest::assertTermDoesNotExist()

Assert that term with given title does not exist.

Parameters

string $property: Property to evaluate.

string $value: Value to evaluate.

1 call to TrackChangesTest::assertTermDoesNotExist()
TrackChangesTest::testTrackChanges in core/modules/migrate/tests/src/Kernel/TrackChangesTest.php
Tests track changes property of SqlBase.

File

core/modules/migrate/tests/src/Kernel/TrackChangesTest.php, line 169

Class

TrackChangesTest
Tests migration track changes property.

Namespace

Drupal\Tests\migrate\Kernel

Code

protected function assertTermDoesNotExist($property, $value) {
  self::assertFalse($this
    ->termExists($property, $value));
}