/**
* Tests working with the entity based upon the TypedData API.
*/ publicfunctiontestDataStructureInterfaces(){ // All entity variations have to have the same results.
foreach(entity_test_entity_types()as$entity_type){ $this->doTestDataStructureInterfaces($entity_type); } }
/**
* Executes the data structure interfaces tests for the given entity type.
*
* @param string $entity_type
* The entity type to run the tests with.
*/ protectedfunctiondoTestDataStructureInterfaces($entity_type){ $entity = $this->createTestEntity($entity_type);