/**
* Test export functionality.
*
* @covers ::export
*/
public function testExport()
{
$data = $this->getElementsData();
$mockElementsService = $this->getMockElementsService($data);
$this->setComponent(Craft::app(), 'elements', $mockElementsService);
$data = $this->getElementIndexSettingsData();
$mockElementIndexesService = $this->getMockElementIndexesService($data);
$this->setComponent(Craft::app(), 'elementIndexes', $mockElementIndexesService);
$export = $this->schematicElementIndexSettingsService->export();
$this->assertEquals($data, $export);
}