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