You are here

function EntityDependencyTestCase::getIterator in Entity Dependency API 7

Helper method to return the iterator.

5 calls to EntityDependencyTestCase::getIterator()
EntityDependencyTestCase::testCumbersomeIterator in ./entity_dependency.test
Test cumbersome scenario with nodes, taxonomy and users.
EntityDependencyTestCase::testDanglingTermReferenceIterator in ./entity_dependency.test
Test worse scenario with nodes, taxonomy and dangling reference to taxonomy term.
EntityDependencyTestCase::testNode in ./entity_dependency.test
Test if single node passes iterator.
EntityDependencyTestCase::testNodeUser in ./entity_dependency.test
Test basic scenario with node & author.
EntityDependencyTestCase::testNodeUserComment in ./entity_dependency.test
Test basic scenario with node & author & comment & commentor.

File

./entity_dependency.test, line 34
Entity Dependency tests.

Class

EntityDependencyTestCase
Tests the entity dependency iterator.

Code

function getIterator() {
  return entity_dependency_iterator($this->entities);
}