public function RequiredTest::testInvertedRequiredWithEmptyArray in Tamper 8
Test required with empty array.
File
- tests/
src/ Unit/ Plugin/ Tamper/ RequiredTest.php, line 122
Class
- RequiredTest
- Test the required plugin.
Namespace
Drupal\Tests\tamper\Unit\Plugin\TamperCode
public function testInvertedRequiredWithEmptyArray() {
$this
->assertArrayEquals([], $this->invertedPlugin
->tamper([]));
}