52 calls to UnitTestCase::getConfigFactoryStub()

AdminNegotiatorTest::testDetermineActiveTheme in core/modules/user/tests/src/Unit/Theme/AdminNegotiatorTest.php
Tests determining the active theme.
AjaxBasePageNegotiatorTest::setUp in core/tests/Drupal/Tests/Core/Theme/AjaxBasePageNegotiatorTest.php
AnnounceFetcherUnitTest::setUp in core/modules/announcements_feed/tests/src/Unit/AnnounceFetcherUnitTest.php
BlockContentLocalTasksTest::setUp in core/modules/block_content/tests/src/Unit/Menu/BlockContentLocalTasksTest.php
BlockLocalTasksTest::setUp in core/modules/block/tests/src/Unit/Menu/BlockLocalTasksTest.php
ComposerRunnerTest::testRunner in core/modules/package_manager/tests/src/Unit/ComposerRunnerTest.php
Tests that the Composer runner runs Composer through the PHP interpreter.
ConfigEntityMapperTest::setUp in core/modules/config_translation/tests/src/Unit/ConfigEntityMapperTest.php
ConfigFieldMapperTest::setUp in core/modules/config_translation/tests/src/Unit/ConfigFieldMapperTest.php
ConfigFormBaseTraitTest::testConfig in core/tests/Drupal/Tests/Core/Form/ConfigFormBaseTraitTest.php
Tests config.
ConfigNamesMapperTest::setUp in core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php
ConfigNamesMapperTest::testGetConfigData in core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php
Tests ConfigNamesMapper::getConfigData().
ConfigNamesMapperTest::testGetLangcode in core/modules/config_translation/tests/src/Unit/ConfigNamesMapperTest.php
Tests ConfigNamesMapper::getLangcode().
ControllerBaseTest::testGetConfig in core/tests/Drupal/Tests/Core/Controller/ControllerBaseTest.php
Tests the config method.
CustomPageExceptionHtmlSubscriberTest::setUp in core/tests/Drupal/Tests/Core/EventSubscriber/CustomPageExceptionHtmlSubscriberTest.php
DateHelperTest::setUp in core/tests/Drupal/Tests/Core/Datetime/DateHelperTest.php
DateHelperTest::testWeekDaysOrdered in core/tests/Drupal/Tests/Core/Datetime/DateHelperTest.php
Tests week days ordered.
DateTest::setUp in core/tests/Drupal/Tests/Core/Datetime/DateTest.php
ExecutableFinderTest::testComposerInstalledInProject in core/modules/package_manager/tests/src/Unit/ExecutableFinderTest.php
Tests that the executable finder tries to use a local copy of Composer.
ExecutableFinderTest::testLegacyExecutablePaths in core/modules/package_manager/tests/src/Unit/ExecutableFinderTest.php
Tests that the executable finder falls back to looking in config for paths.
FinalExceptionSubscriberTest::testOnExceptionWithUnknownFormat in core/tests/Drupal/Tests/Core/EventSubscriber/FinalExceptionSubscriberTest.php
Tests on exception with unknown format.
FinishResponseSubscriberTest::testDefaultHeaders in core/tests/Drupal/Tests/Core/EventSubscriber/FinishResponseSubscriberTest.php
Finish subscriber should set some default header values.
FinishResponseSubscriberTest::testExistingHeaders in core/tests/Drupal/Tests/Core/EventSubscriber/FinishResponseSubscriberTest.php
Finish subscriber should not overwrite existing header values.
LanguageNegotiationUrlTest::testDomain in core/modules/language/tests/src/Unit/LanguageNegotiationUrlTest.php
Tests domain language negotiation and outbound path processing.
LanguageNegotiationUrlTest::testNeutralLanguages in core/modules/language/tests/src/Unit/LanguageNegotiationUrlTest.php
Tests outbound path processing for neutral languages.
LanguageNegotiationUrlTest::testPathPrefix in core/modules/language/tests/src/Unit/LanguageNegotiationUrlTest.php
Tests path prefix language negotiation and outbound path processing.
LanguageNegotiationUrlTest::testProcessOutboundOutputsRelativePathsForSameDomain in core/modules/language/tests/src/Unit/LanguageNegotiationUrlTest.php
Tests path outbound processing correctly setting relative/absolute paths.
LocaleLookupTest::setUp in core/modules/locale/tests/src/Unit/LocaleLookupTest.php
LocaleLookupTest::testResolveCacheMissWithPersist in core/modules/locale/tests/src/Unit/LocaleLookupTest.php
Tests locale lookups with persistent tracking.
LocaleTranslationTest::testDestruct in core/modules/locale/tests/src/Unit/LocaleTranslationTest.php
Tests for \Drupal\locale\LocaleTranslation::destruct().
LocalTaskIntegrationTestBase::setUp in core/tests/Drupal/Tests/Core/Menu/LocalTaskIntegrationTestBase.php
LoggingBeginnerTest::testDecoratedBeginnerIsCalled in core/modules/package_manager/tests/src/Unit/LoggingBeginnerTest.php
Tests the output of LoggingBeginner().
LoggingCommitterTest::testDecoratedCommitterIsCalled in core/modules/package_manager/tests/src/Unit/LoggingCommitterTest.php
Tests the output of LoggingCommitter().
LoggingStagerTest::testDecoratedStagerIsCalled in core/modules/package_manager/tests/src/Unit/LoggingStagerTest.php
Tests LoggingStager().
MailManagerTest::setUpMailManager in core/tests/Drupal/Tests/Core/Mail/MailManagerTest.php
Sets up the mail manager for testing.
PathBasedBreadcrumbBuilderTest::setUp in core/modules/system/tests/src/Unit/Breadcrumbs/PathBasedBreadcrumbBuilderTest.php
@legacy-covers ::__construct
PathLocatorTest::testStagingRoot in core/modules/package_manager/tests/src/Unit/PathLocatorTest.php
Tests staging root.
PathMatcherTest::setUp in core/tests/Drupal/Tests/Core/Path/PathMatcherTest.php
PathMatcherTest::testMatchPathNullFront in core/tests/Drupal/Tests/Core/Path/PathMatcherTest.php
Tests matchPath when page.front is null.
PathPluginBaseTest::setupContainer in core/modules/views/tests/src/Unit/Plugin/display/PathPluginBaseTest.php
Setup access plugin manager and config factory in the Drupal class.
PathProcessorTest::testProcessInbound in core/tests/Drupal/Tests/Core/PathProcessor/PathProcessorTest.php
Tests resolving the inbound path to the system path.
PhpMailTest::setUp in core/tests/Drupal/Tests/Core/Mail/Plugin/Mail/PhpMailTest.php
ProviderRepositoryTest::setUp in core/modules/media/tests/src/Unit/ProviderRepositoryTest.php
SanitizeNameTest::testFileNameTransliteration in core/modules/file/tests/src/Unit/SanitizeNameTest.php
Test file name sanitization.
SecurityFileUploadEventSubscriberTest::testSanitizeName in core/modules/system/tests/src/Unit/Event/SecurityFileUploadEventSubscriberTest.php
Tests file name sanitization.
SecurityFileUploadEventSubscriberTest::testSanitizeNameNoMunge in core/modules/system/tests/src/Unit/Event/SecurityFileUploadEventSubscriberTest.php
Tests file name sanitization without file munging.
StaticMenuLinkOverridesTest::testLoadMultipleOverrides in core/tests/Drupal/Tests/Core/Menu/StaticMenuLinkOverridesTest.php
Tests the loadMultipleOverrides method.
StaticMenuLinkOverridesTest::testLoadOverride in core/tests/Drupal/Tests/Core/Menu/StaticMenuLinkOverridesTest.php
Tests the loadOverride method.
ThemeExtensionListTest::testDoGetBaseThemes in core/tests/Drupal/Tests/Core/Extension/ThemeExtensionListTest.php
Tests getting the base themes for a set of defined themes.
ThemeExtensionListTest::testGetBaseThemes in core/tests/Drupal/Tests/Core/Extension/ThemeExtensionListTest.php
Tests getting the base themes for a set a defines themes.
ThemeExtensionListTest::testRebuildThemeDataWithThemeParents in core/tests/Drupal/Tests/Core/Extension/ThemeExtensionListTest.php
Tests rebuild the theme data with theme parents.
ThemeHandlerTest::setUp in core/tests/Drupal/Tests/Core/Extension/ThemeHandlerTest.php
UpdateFetcherTest::setUp in core/modules/update/tests/src/Unit/UpdateFetcherTest.php

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.