public function LayoutSectionItemListTest::testEqualsNonSection in Drupal 8
Same name and namespace in other branches
- 9 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->sectionStorage
->equals($list
->reveal()));
}