function LayoutSectionItemListTest::testEqualsNonSection
@covers ::equals
File
-
core/
modules/ layout_builder/ tests/ src/ Kernel/ LayoutSectionItemListTest.php, line 72
Class
- LayoutSectionItemListTest
- Tests the field type for Layout Sections.
Namespace
Drupal\Tests\layout_builder\KernelCode
public function testEqualsNonSection() : void {
$list = $this->prophesize(FieldItemListInterface::class);
$this->assertFalse($this->sectionList
->equals($list->reveal()));
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.