'name' => 'The test entity',
OverridesSectionStorage::FIELD_NAME =>
$section_data,
]);
$entity->
save();
return $entity->
get(OverridesSectionStorage::FIELD_NAME
);
} /**
* @covers ::equals
*/
public function testEquals() { $this->sectionList->
getSection(0
)->
setLayoutSettings(['foo' => 1
]);
$second_section_storage =
clone $this->sectionList;
$this->
assertTrue($this->sectionList->
equals($second_section_storage));
$second_section_storage->
getSection(0
)->
setLayoutSettings(['foo' => '1'
]);
$this->
assertFalse($this->sectionList->
equals($second_section_storage));
} /**
* @covers ::equals
*/