public function DataLayerUnitTests::setupMockEntityTerms in dataLayer 7
Setup Mock Entity Terms.
2 calls to DataLayerUnitTests::setupMockEntityTerms()
- DataLayerUnitTests::testDataLayerGetEntityDataReturnsEntityDataArray in tests/
datalayer.unit.test - Test DataLayer Get Entity Terms Returns Entity Data Array.
- DataLayerUnitTests::testDataLayerGetEntityTermsReturnsTermArray in tests/
datalayer.unit.test - Test DataLayer Get Entity Terms Returns Term Array.
File
- tests/
datalayer.unit.test, line 311 - Tests the functionality of the DataLayer module.
Class
- DataLayerUnitTests
- @file Tests the functionality of the DataLayer module.
Code
public function setupMockEntityTerms() {
$this
->setupMockFieldMap();
$this
->setupMockLanguage('en');
$this
->setupMockFieldLanguage();
$this
->setupMockEntityInfo();
$this
->setupMockEntityController();
}