public function LayoutSectionItemListTest::testEqualsNonSection in Drupal 9
Same name and namespace in other branches
- 8 core/modules/layout_builder/tests/src/Kernel/LayoutSectionItemListTest.php \Drupal\Tests\layout_builder\Kernel\LayoutSectionItemListTest::testEqualsNonSection()
@covers ::equals
File
- core/
modules/ layout_builder/ tests/ src/ Kernel/ LayoutSectionItemListTest.php, line 69
Class
- LayoutSectionItemListTest
- Tests the field type for Layout Sections.
Namespace
Drupal\Tests\layout_builder\KernelCode
public function testEqualsNonSection() {
$list = $this
->prophesize(FieldItemListInterface::class);
$this
->assertFalse($this->sectionList
->equals($list
->reveal()));
}