function LayoutSectionItemListTest::testEqualsNonSection
Same name in other branches
- 9 core/modules/layout_builder/tests/src/Kernel/LayoutSectionItemListTest.php \Drupal\Tests\layout_builder\Kernel\LayoutSectionItemListTest::testEqualsNonSection()
- 8.9.x core/modules/layout_builder/tests/src/Kernel/LayoutSectionItemListTest.php \Drupal\Tests\layout_builder\Kernel\LayoutSectionItemListTest::testEqualsNonSection()
- 11.x 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 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.