6 calls to EntityTypeBundleInfoTest::createNewTestSubject() in Entity Construction Kit (ECK) 8
- EntityTypeBundleInfoTest::createNewTestSubjectWithEntityType in tests/
src/ Unit/ EntityTypeBundleInfoTest.php - Creates a new test subject with an entity type.
- EntityTypeBundleInfoTest::entityTypeHasBundlesMethodCachesData in tests/
src/ Unit/ EntityTypeBundleInfoTest.php - Tests caching of data.
- EntityTypeBundleInfoTest::returnsFalseWhenNonExistingEntityTypeIsPassed in tests/
src/ Unit/ EntityTypeBundleInfoTest.php - Tests that entityTypeHasBundles returns false on non-existing entity type.
- EntityTypeBundleInfoTest::returnsNoMachineNamesIfEntityTypeDoesNotExist in tests/
src/ Unit/ EntityTypeBundleInfoTest.php - Tests that no machine names are returned if the entity type doesn't exist.
- EntityTypeBundleInfoTest::returnsZeroIfEntityTypeDoesNotExist in tests/
src/ Unit/ EntityTypeBundleInfoTest.php - Tests that zero is returned if the entity type doesn't exist.
- EntityTypeBundleInfoTest::usesCachedDataWhenAvailable in tests/
src/ Unit/ EntityTypeBundleInfoTest.php - Tests that cached data is used if available.