You are here

public function DataLayerUnitTests::setupMockFieldMap in dataLayer 7

Setup Mock Field Map.

2 calls to DataLayerUnitTests::setupMockFieldMap()
DataLayerUnitTests::setupMockEntityTerms in tests/datalayer.unit.test
Setup Mock Entity Terms.
DataLayerUnitTests::testDataLayerGetEntityTermsReturnsEmptyArray in tests/datalayer.unit.test
Test DataLayer Get Entity Terms Returns Empty Array.

File

tests/datalayer.unit.test, line 237
Tests the functionality of the DataLayer module.

Class

DataLayerUnitTests
@file Tests the functionality of the DataLayer module.

Code

public function setupMockFieldMap() {
  $field_map =& drupal_static('_field_info_field_cache');
  $field_map = new DataLayerMockFieldInfo();
}