You are here

public function FieldUiTest::testGetNextDestinationEmpty in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/field_ui/tests/src/Unit/FieldUiTest.php \Drupal\Tests\field_ui\Unit\FieldUiTest::testGetNextDestinationEmpty()
  2. 9 core/modules/field_ui/tests/src/Unit/FieldUiTest.php \Drupal\Tests\field_ui\Unit\FieldUiTest::testGetNextDestinationEmpty()

@covers ::getNextDestination

File

core/modules/field_ui/tests/src/Unit/FieldUiTest.php, line 52

Class

FieldUiTest
@coversDefaultClass \Drupal\field_ui\FieldUI

Namespace

Drupal\Tests\field_ui\Unit

Code

public function testGetNextDestinationEmpty() {
  $destinations = [];
  $actual = FieldUI::getNextDestination($destinations);
  $this
    ->assertNull($actual);
}