PHP Class NerdsAndCompany\Schematic\Services\ElementIndexSettingsTest

Author: Nerds & Company
Inheritance: extends Craft\BaseTest
Show file Open project: itmundi/schematic

Public Methods

Method Description
getElementIndexSettingsData ( ) : array Returns element index settings data.
getElementsData ( ) : array Returns elements data.
setUp ( )
testExport ( ) Test export functionality.
testImport ( ) Test default import functionality.

Protected Methods

Method Description
getMockElementIndexesService ( array $getSettingsResponse = [] ) : PHPUnit_Framework_MockObject_MockObject
getMockElementsService ( array $getAllElementTypesResponse = [] ) : PHPUnit_Framework_MockObject_MockObject

Method Details

getElementIndexSettingsData() public method

Returns element index settings data.

getElementsData() public method

Returns elements data.
public getElementsData ( ) : array
return array

getMockElementIndexesService() protected method

protected getMockElementIndexesService ( array $getSettingsResponse = [] ) : PHPUnit_Framework_MockObject_MockObject
$getSettingsResponse array
return PHPUnit_Framework_MockObject_MockObject

getMockElementsService() protected method

protected getMockElementsService ( array $getAllElementTypesResponse = [] ) : PHPUnit_Framework_MockObject_MockObject
$getAllElementTypesResponse array
return PHPUnit_Framework_MockObject_MockObject

setUp() public method

public setUp ( )

testExport() public method

Test export functionality.
public testExport ( )

testImport() public method

Test default import functionality.
public testImport ( )