function InspectorTest::testAllNotEmpty
Tests asserting all members are !empty().
@legacy-covers ::assertAllNotEmpty
File
-
core/
tests/ Drupal/ Tests/ Component/ Assertion/ InspectorTest.php, line 173
Class
Namespace
Drupal\Tests\Component\AssertionCode
public function testAllNotEmpty() : void {
$this->assertTrue(Inspector::assertAllNotEmpty([
1,
'two',
]));
$this->assertFalse(Inspector::assertAllNotEmpty([
'',
]));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.