function FieldUiTest::testGetNextDestinationEmpty

Same name and namespace in other branches
  1. 10 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()
  3. 8.9.x core/modules/field_ui/tests/src/Unit/FieldUiTest.php \Drupal\Tests\field_ui\Unit\FieldUiTest::testGetNextDestinationEmpty()

Tests get next destination empty.

@legacy-covers ::getNextDestination

File

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

Class

FieldUiTest
Tests Drupal\field_ui\FieldUI.

Namespace

Drupal\Tests\field_ui\Unit

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.