function FieldUiTest::testGetNextDestinationEmpty
@covers ::getNextDestination
File
-
core/
modules/ field_ui/ tests/ src/ Unit/ FieldUiTest.php, line 54
Class
- FieldUiTest
- @coversDefaultClass \Drupal\field_ui\FieldUI[[api-linebreak]]
Namespace
Drupal\Tests\field_ui\UnitCode
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.