532 calls to DrupalTestCaseTrait::expectExceptionMessageIs()

AcceptHeaderMatcherTest::testNoRouteFound in core/tests/Drupal/Tests/Core/Routing/AcceptHeaderMatcherTest.php
Confirms that the AcceptHeaderMatcher throws an exception for no-route.
AccessAwareRouterTest::testCheckAccessResultWithReason in core/tests/Drupal/Tests/Core/Routing/AccessAwareRouterTest.php
Tests the matchRequest() function for access denied with reason message.
AccessPolicyProcessorTest::testMultipleScopeAlterException in core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php
Tests the multiple scopes exception.
AccessPolicyProcessorTest::testMultipleScopeException in core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php
Tests the multiple scopes exception.
AccessPolicyProcessorTest::testWrongScopeException in core/tests/Drupal/Tests/Core/Session/AccessPolicyProcessorTest.php
Tests the wrong scope exception.
AccountSwitcherTest::testAccountSwitching in core/tests/Drupal/KernelTests/Core/Session/AccountSwitcherTest.php
Tests the account switching, switching to and switching back.
ActionMethodAttributeTest::testInvalidFunctionName in core/tests/Drupal/Tests/Core/Config/Action/ActionMethodAttributeTest.php
Tests invalid function name.
AddComponentTest::testActionFailsIfEntityNotFound in core/modules/layout_builder/tests/src/Kernel/Plugin/ConfigAction/AddComponentTest.php
Tests that applying the config action to a missing entity fails.
AddComponentTest::testAddComponent in core/modules/layout_builder/tests/src/Kernel/Plugin/ConfigAction/AddComponentTest.php
Tests adding a component to a view display using a config action.
AddItemToToolbarConfigActionTest::testActionRequiresCKEditor5 in core/modules/ckeditor5/tests/src/Kernel/ConfigAction/AddItemToToolbarConfigActionTest.php
Tests that the `addItemToToolbar` config action requires CKEditor 5.
AddItemToToolbarConfigActionTest::testAddNonExistentItem in core/modules/ckeditor5/tests/src/Kernel/ConfigAction/AddItemToToolbarConfigActionTest.php
Tests that adding non-existent toolbar item to CKEditor triggers an error.
AddModerationConfigActionTest::testActionOnlyTargetsWorkflows in core/modules/content_moderation/tests/src/Kernel/ConfigAction/AddModerationConfigActionTest.php
Tests that the action only targets workflows.
AddModerationConfigActionTest::testWorkflowMustBeContentModeration in core/modules/content_moderation/tests/src/Kernel/ConfigAction/AddModerationConfigActionTest.php
Tests that the workflow must be of type Content Moderation.
AddNavigationBlockConfigActionTest::testActionOnlySupportsNavigationConfig in core/modules/navigation/tests/src/Kernel/ConfigAction/AddNavigationBlockConfigActionTest.php
Checks invalid config exception.
AddToAllBundlesConfigActionTest::testFailIfExists in core/modules/field/tests/src/Kernel/AddToAllBundlesConfigActionTest.php
Tests that the action can be set to fail if the field already exists.
AddToAllBundlesConfigActionTest::testInstantiateNewFieldOnAllBundles in core/modules/field/tests/src/Kernel/AddToAllBundlesConfigActionTest.php
Tests instantiating a field on all bundles of an entity type.
AddToAllBundlesConfigActionTest::testMissingLabel in core/modules/field/tests/src/Kernel/AddToAllBundlesConfigActionTest.php
Tests that the action fails when the label property is not set.
AdminAccountSwitcherTest::testNoAdministratorsExist in core/tests/Drupal/KernelTests/Core/DefaultContent/AdminAccountSwitcherTest.php
Tests that there is an error if there are no administrative users.
AjaxWaitTest::testUnnecessaryWait in core/tests/Drupal/FunctionalJavascriptTests/AjaxWaitTest.php
Tests that an unnecessary wait triggers an error.
AjaxWaitTest::testUntrackedXhr in core/tests/Drupal/FunctionalJavascriptTests/AjaxWaitTest.php
Tests that an untracked XHR triggers an error.
AllowedValuesConstraintValidatorTest::testValidationCallbackException in core/tests/Drupal/KernelTests/Core/TypedData/AllowedValuesConstraintValidatorTest.php
Tests the AllowedValuesConstraintValidator with an invalid callback.
ArrayBuildTest::testNonExistentKey in core/modules/migrate/tests/src/Unit/process/ArrayBuildTest.php
Tests non-existent key for the key configuration.
ArrayBuildTest::testNonExistentValue in core/modules/migrate/tests/src/Unit/process/ArrayBuildTest.php
Tests non-existent key for the value configuration.
ArrayBuildTest::testOneDimensionalArrayInput in core/modules/migrate/tests/src/Unit/process/ArrayBuildTest.php
Tests one-dimensional array input.
ArrayBuildTest::testStringInput in core/modules/migrate/tests/src/Unit/process/ArrayBuildTest.php
Tests string input.
AttributeHelperTest::testMergeCollectionsArgumentException in core/tests/Drupal/Tests/Core/Template/AttributeHelperTest.php
Tests merge collections argument exception.
AutowireBlockTest::testAutowireError in core/tests/Drupal/KernelTests/Core/Block/AutowireBlockTest.php
Tests that autowire errors are handled correctly.
AutowiredInstanceTraitTest::testAutowireMissingRequiredParameter in core/tests/Drupal/Tests/Core/DependencyInjection/AutowiredInstanceTraitTest.php
Tests exception for missing required parameter.
AutowiredInstanceTraitTest::testAutowireMissingRequiredService in core/tests/Drupal/Tests/Core/DependencyInjection/AutowiredInstanceTraitTest.php
Tests exception for missing required service.
BaseThemeMissingTest::testMissingBaseThemeException in core/tests/Drupal/KernelTests/Core/Theme/BaseThemeMissingTest.php
Tests exception is thrown.
BatchBuilderTest::testQueueExists in core/tests/Drupal/Tests/Core/Batch/BatchBuilderTest.php
Tests queue class exists.
BatchBuilderTest::testQueueImplements in core/tests/Drupal/Tests/Core/Batch/BatchBuilderTest.php
Tests queue class implements \Drupal\Core\Queue\QueueInterface.
BlockComponentRenderArrayTest::testOnBuildRenderNullBuild in core/modules/layout_builder/tests/src/Unit/BlockComponentRenderArrayTest.php
Tests on build render null build.
BreadcrumbTest::testSetLinks in core/tests/Drupal/Tests/Core/Breadcrumb/BreadcrumbTest.php
Tests set links.
BrowserTestBaseTest::testError in core/tests/Drupal/FunctionalTests/BrowserTestBaseTest.php
BrowserTestBaseTest::testGetHttpClientException in core/tests/Drupal/Tests/Core/Test/BrowserTestBaseTest.php
Tests get http client exception.
BrowserTestBaseTest::testProfileModules in core/tests/Drupal/FunctionalTests/BrowserTestBaseTest.php
Ensures we can't access modules we shouldn't be able to after install.
BrowserTestBaseTest::testSimpleTestBaseUrlValidation in core/tests/Drupal/FunctionalTests/BrowserTestBaseTest.php
Tests an invalid scheme in SIMPLETEST_BASE_URL throws an exception.
CacheContextsManagerTest::testValidateContexts in core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php
Tests validate contexts.
CallableResolverTest::testCallbackResolverExceptionHandling in core/tests/Drupal/Tests/Core/Utility/CallableResolverTest.php
Tests callback resolver exception handling.
CallbackTest::testCallbackExceptions in core/modules/migrate/tests/src/Unit/process/CallbackTest.php
Tests callback exceptions.
ChainedPlaceholderStrategyTest::testProcessPlaceholdersNoStrategies in core/tests/Drupal/Tests/Core/Render/Placeholder/ChainedPlaceholderStrategyTest.php
Tests process placeholders no strategies.
ChainedPlaceholderStrategyTest::testProcessPlaceholdersWithRoguePlaceholderStrategy in core/tests/Drupal/Tests/Core/Render/Placeholder/ChainedPlaceholderStrategyTest.php
Tests process placeholders with rogue placeholder strategy.
CheckRequirementsTest::testException in core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/CheckRequirementsTest.php
Tests the check requirements exception message.
CKEditor5ImageControllerTest::testInvalidFile in core/modules/ckeditor5/tests/src/Unit/CKEditor5ImageControllerTest.php
Tests that upload fails correctly when the file is too large.
CKEditor5PluginManagerTest::testAutomaticLinkDecoratorsDisallowed in core/modules/ckeditor5/tests/src/Kernel/CKEditor5PluginManagerTest.php
Tests automatic link decorators disallowed.
CKEditor5PluginManagerTest::testDerivedPluginDefinitions in core/modules/ckeditor5/tests/src/Kernel/CKEditor5PluginManagerTest.php
Tests derived plugin definitions.
CKEditor5PluginManagerTest::testExternalLinkAutomaticLinkDecoratorDisallowed in core/modules/ckeditor5/tests/src/Kernel/CKEditor5PluginManagerTest.php
Tests external link automatic link decorator disallowed.
CKEditor5PluginManagerTest::testInvalidPluginDefinitions in core/modules/ckeditor5/tests/src/Kernel/CKEditor5PluginManagerTest.php
Tests invalid plugin definitions.
CKEditor5PluginManagerTest::testProvidedElementsInvalidElementSubset in core/modules/ckeditor5/tests/src/Kernel/CKEditor5PluginManagerTest.php
Tests detection of invalid CKEditor5PluginElementsSubsetInterface classes.
CKEditor5Test::testPathsToFormNames in core/modules/ckeditor5/tests/src/Unit/CKEditor5Test.php
Tests paths to form names.
ClassResolverConstraintValidatorTest::testNonExistingClass in core/tests/Drupal/KernelTests/Core/TypedData/ClassResolverConstraintValidatorTest.php
Test missing class case.
ClassResolverConstraintValidatorTest::testNonExistingMethod in core/tests/Drupal/KernelTests/Core/TypedData/ClassResolverConstraintValidatorTest.php
Test missing method case.
CommentUninstallTest::testCommentUninstallWithField in core/modules/comment/tests/src/Kernel/CommentUninstallTest.php
Tests if comment module uninstall fails if the field exists.
ComponentMetadataTest::testMetadataEnforceSchema in core/tests/Drupal/Tests/Core/Theme/Component/ComponentMetadataTest.php
Tests the correct checks when enforcing schemas or not.
ComponentRenderInvalidTest::testInvalidDefinitionModule in core/tests/Drupal/KernelTests/Components/ComponentRenderInvalidTest.php
Ensure that components in modules without schema fail validation.
ComponentRenderTest::testRenderInvalidSlot in core/tests/Drupal/KernelTests/Components/ComponentRenderTest.php
Ensure that the slots throw an error for invalid slots.
ComponentValidatorTest::testValidatePropsInvalid in core/tests/Drupal/Tests/Core/Theme/Component/ComponentValidatorTest.php
Tests that invalid props are handled properly.
ComposerInspectorTest::testComposerUnavailable in core/modules/package_manager/tests/src/Kernel/ComposerInspectorTest.php
Tests composer unavailable.
ComposerInspectorTest::testConfig in core/modules/package_manager/tests/src/Kernel/ComposerInspectorTest.php
Tests config.
ComposerInspectorTest::testGetInstalledPackagesList in core/modules/package_manager/tests/src/Kernel/ComposerInspectorTest.php
Tests get installed packages list.
ComposerInspectorTest::testGetVersion in core/modules/package_manager/tests/src/Kernel/ComposerInspectorTest.php
Tests get version.
ComposerInspectorTest::testMetapackagePath in core/modules/package_manager/tests/src/Kernel/ComposerInspectorTest.php
Tests that the installed path of metapackages is always NULL.
ComposerInspectorTest::testVersionCheck in core/modules/package_manager/tests/src/Kernel/ComposerInspectorTest.php
Tests version check.
ConditionTest::testCompileWithSqlInjectionForOperator in core/tests/Drupal/Tests/Core/Database/ConditionTest.php
Tests compile with sql injection for operator.
ConfigActionAttributeTest::testNoLabelNoDeriver in core/tests/Drupal/Tests/Core/Config/Action/ConfigActionAttributeTest.php
Tests no label no deriver.
ConfigActionsTest::testPlaceBlockActionOnlyWorksOnBlocks in core/modules/block/tests/src/Kernel/ConfigActionsTest.php
Tests place block action only works on blocks.
ConfigActionsTest::testPlaceBlockInDynamicRegion in core/modules/block/tests/src/Kernel/ConfigActionsTest.php
Tests place block in dynamic region.
ConfigActionTest::testDuplicatePluralizedMethodNameException in core/tests/Drupal/KernelTests/Core/Config/Action/ConfigActionTest.php
Tests exception thrown for duplicate pluralized method action definitions.
ConfigActionTest::testDuplicatePluralizedOtherMethodNameException in core/tests/Drupal/KernelTests/Core/Config/Action/ConfigActionTest.php
Tests exception when creating a duplicate derivative.
ConfigActionTest::testDuplicateShorthandActionIds in core/tests/Drupal/KernelTests/Core/Config/Action/ConfigActionTest.php
Tests that duplicate shorthand action IDs throw an exception.
ConfigActionTest::testEntityMethodException in core/tests/Drupal/KernelTests/Core/Config/Action/ConfigActionTest.php
Tests exception thrown when entity method action has an invalid argument.
ConfigActionTest::testPluralizedEntityMethodException in core/tests/Drupal/KernelTests/Core/Config/Action/ConfigActionTest.php
Tests exception thrown when applying an action to multiple calls.
ConfigConfiguratorTest::testFullStrictness in core/tests/Drupal/KernelTests/Core/Recipe/ConfigConfiguratorTest.php
Tests strict mode.
ConfigEntityAdapterTest::testApplyDefaultValue in core/tests/Drupal/KernelTests/Core/Entity/ConfigEntityAdapterTest.php
Tests apply default value.
ConfigEntityBaseUnitTest::testToArraySchemaException in core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityBaseUnitTest.php
Tests to array schema exception.
ConfigEntityStorageTest::testLoad in core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityStorageTest.php
Tests load.
ConfigEntityStorageTest::testSaveChangedUuid in core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityStorageTest.php
Tests save changed uuid.
ConfigEntityStorageTest::testSaveInvalid in core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityStorageTest.php
Tests save invalid.
ConfigEntityStorageTest::testSaveMismatch in core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityStorageTest.php
Tests save mismatch.
ConfigEntityTypeTest::testConfigPrefixLengthExceeds in core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityTypeTest.php
Tests when the prefix length exceeds the maximum defined prefix length.
ConfigEntityTypeTest::testConstructBadStorage in core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityTypeTest.php
Tests construct bad storage.
ConfigEntityTypeTest::testSetStorageClass in core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityTypeTest.php
Tests set storage class.
ConfigEntityUpdaterTest::testUpdateException in core/tests/Drupal/KernelTests/Core/Config/Entity/ConfigEntityUpdaterTest.php
Tests update exception.
ConfigEntityUpdaterTest::testUpdateOncePerUpdateException in core/tests/Drupal/KernelTests/Core/Config/Entity/ConfigEntityUpdaterTest.php
Tests update once per update exception.
ConfigFormBaseTraitTest::testConfigFactoryException in core/tests/Drupal/Tests/Core/Form/ConfigFormBaseTraitTest.php
Tests config factory exception.
ConfigFormBaseTraitTest::testConfigFactoryExceptionInvalidProperty in core/tests/Drupal/Tests/Core/Form/ConfigFormBaseTraitTest.php
Tests config factory exception invalid property.
ConfigInstallTest::testIdMisMatch in core/tests/Drupal/KernelTests/Core/Config/ConfigInstallTest.php
Tests installing configuration where the filename and ID do not match.
ConfigSchemaTest::testLangcodeRequiredIfTranslatableValuesConstraintError in core/tests/Drupal/KernelTests/Core/Config/ConfigSchemaTest.php
Tests exception is thrown for the root object.
ConfigTargetTest::testDuplicateTargetsNotAllowed in core/tests/Drupal/Tests/Core/Form/ConfigTargetTest.php
Tests duplicate targets not allowed.
ConfigTargetTest::testFromFormException in core/tests/Drupal/Tests/Core/Form/ConfigTargetTest.php
Tests from form exception.
ConfigTargetTest::testGetValueCorrectConfig in core/tests/Drupal/Tests/Core/Form/ConfigTargetTest.php
ConfigTargetTest::testMultiTargetWithoutCallables in core/tests/Drupal/Tests/Core/Form/ConfigTargetTest.php
Tests multi target without callables.
ConfigTargetTest::testSetValueCorrectConfig in core/tests/Drupal/Tests/Core/Form/ConfigTargetTest.php
ConfigTargetTest::testSetValueMultiTargetToConfigReturnValue in core/tests/Drupal/Tests/Core/Form/ConfigTargetTest.php
Tests set value multi target to config return value.
ConfigTest::testSetInvalidOffsetValue in core/tests/Drupal/Tests/Core/Config/ConfigTest.php
Tests set invalid offset value.
ConfigTest::testValidateNameException in core/tests/Drupal/Tests/Core/Config/ConfigTest.php
Tests validate name exception.
ConfigValidationTest::testValidatableConfigIsValidated in core/tests/Drupal/KernelTests/Core/Recipe/ConfigValidationTest.php
Tests that the recipe runner only validates config which is validatable.
ConnectionTest::testIdentifierQuotesAssertCount in core/tests/Drupal/Tests/Core/Database/ConnectionTest.php
Tests identifier quotes assert count.
ConnectionTest::testIdentifierQuotesAssertString in core/tests/Drupal/Tests/Core/Database/ConnectionTest.php
Tests identifier quotes assert string.
ContainerBuilderTest::testSetParameterException in core/tests/Drupal/Tests/Core/DependencyInjection/ContainerBuilderTest.php
Tests set parameter exception.
ContentDispositionFilenameParserTest::testParseFilenameExtended in core/modules/file/tests/src/Unit/Upload/ContentDispositionFilenameParserTest.php
Tests parse filename extended.
ContentDispositionFilenameParserTest::testParseFilenameInvalid in core/modules/file/tests/src/Unit/Upload/ContentDispositionFilenameParserTest.php
Tests parse filename invalid.
ContentDispositionFilenameParserTest::testParseFilenameMissing in core/modules/file/tests/src/Unit/Upload/ContentDispositionFilenameParserTest.php
Tests parse filename missing.
ContentEntityBaseUnitTest::testRequiredValidation in core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php
Tests required validation.
ContentEntityBaseUnitTest::testSetNewRevisionException in core/tests/Drupal/Tests/Core/Entity/ContentEntityBaseUnitTest.php
Tests set new revision exception.
ContentEntityConstructorTest::testConstructor in core/modules/migrate/tests/src/Kernel/Plugin/source/ContentEntityConstructorTest.php
Tests the constructor.
ContentImportAlreadyExistsTest::testImportEntityThatAlreadyExists in core/tests/Drupal/FunctionalTests/DefaultContent/ContentImportAlreadyExistsTest.php
Tests import entity that already exists.
ContentImportTest::testEntityValidationIsTriggered in core/tests/Drupal/FunctionalTests/DefaultContent/ContentImportTest.php
Tests that the importer validates entities before saving them.
ContentModerationStateResourceTest::testCreateContentModerationStateResource in core/modules/content_moderation/tests/src/Kernel/ContentModerationStateResourceTest.php
ContentTypeHeaderMatcherTest::testContentTypeRequestHeaderMissing in core/tests/Drupal/Tests/Core/Routing/ContentTypeHeaderMatcherTest.php
Confirms that the matcher throws an exception for missing request header.
ContentTypeHeaderMatcherTest::testNoRouteFound in core/tests/Drupal/Tests/Core/Routing/ContentTypeHeaderMatcherTest.php
Confirms that the matcher throws an exception for no-route.
ContextAwarePluginTraitTest::testGetContextDefinition in core/tests/Drupal/KernelTests/Core/Plugin/Context/ContextAwarePluginTraitTest.php
Tests get context definition.
ContextDefinitionTest::testEntityContextDefinitionAssert in core/tests/Drupal/KernelTests/Core/Plugin/ContextDefinitionTest.php
Tests entity context definition assert.
ContextHandlerTest::testApplyContextMappingConfigurableAssignedMiss in core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php
Tests apply context mapping configurable assigned miss.
ContextHandlerTest::testApplyContextMappingMissingRequired in core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php
Tests apply context mapping missing required.
ContextHandlerTest::testApplyContextMappingNoValueRequired in core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php
Tests apply context mapping no value required.
ControllerBaseTest::testCreateException in core/tests/Drupal/KernelTests/Core/Controller/ControllerBaseTest.php
Tests create exception.
CopyTest::testInvalidStreamWrapper in core/modules/file/tests/src/Kernel/CopyTest.php
Tests for an invalid stream wrapper.
CssCollectionRendererUnitTest::testRenderInvalidType in core/tests/Drupal/Tests/Core/Asset/CssCollectionRendererUnitTest.php
Tests a CSS asset group with the invalid 'type' => 'internal'.
CssOptimizerUnitTest::testTypeExternal in core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php
Tests a CSS asset with 'type' => 'external'.
CssOptimizerUnitTest::testTypeFilePreprocessingDisabled in core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php
Tests a file CSS asset with preprocessing disabled.
CustomAccessCheckTest::testAccessException in core/tests/Drupal/Tests/Core/Access/CustomAccessCheckTest.php
Tests the access method exception for invalid access callbacks.
DatabaseEventsTest::testDisableInvalidEvent in core/tests/Drupal/Tests/Core/Database/DatabaseEventsTest.php
Tests disable invalid event.
DatabaseEventsTest::testEnableInvalidEvent in core/tests/Drupal/Tests/Core/Database/DatabaseEventsTest.php
Tests enable invalid event.
DatabaseEventsTest::testEventDispatchingWhenNoContainerAvailable in core/tests/Drupal/Tests/Core/Database/DatabaseEventsTest.php
Tests event dispatching when no container available.
DatelistElementFormTest::testDatelistElementUntrustedCallbacks in core/tests/Drupal/KernelTests/Core/Datetime/DatelistElementFormTest.php
Tests that exceptions are raised if untrusted callbacks are used.
DatetimeElementFormTest::testDatetimeElementUntrustedCallbacks in core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php
Tests that deprecations are raised if untrusted callbacks are used.
DateTimeIso8601NormalizerTest::testDenormalizeDateAndTimeException in core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php
Tests the denormalize function with bad data for the date+time case.
DateTimeIso8601NormalizerTest::testDenormalizeDateOnlyException in core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php
Tests the denormalize function with bad data for the date-only case.
DateTimeIso8601NormalizerTest::testDenormalizeNoTargetInstanceOrFieldDefinitionException in core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php
Tests the denormalize function with incomplete serialization context.
DateTimeNormalizerTest::testDenormalizeException in core/modules/serialization/tests/src/Unit/Normalizer/DateTimeNormalizerTest.php
Tests the denormalize function with bad data.
DefaultLazyPluginCollectionTest::testGetNotExistingPlugin in core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php
Tests get not existing plugin.
DefaultLazyPluginCollectionTest::testSortHelperException in core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php
Tests the sort helper exception if plugin not found.
DefaultPluginManagerTest::testCreateInstanceWithInvalidInterfaces in core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php
Tests plugins without the proper interface.
DefaultPluginManagerTest::testGetDefinitionPluginNotFoundException in core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php
Tests the plugin manager behavior for a missing plugin ID.
DefaultTableMappingTest::testGetFieldColumnNameInvalid in core/tests/Drupal/Tests/Core/Entity/Sql/DefaultTableMappingTest.php
Tests DefaultTableMapping::getFieldColumnName() with invalid parameters.
DefaultTableMappingTest::testGetFieldTableNameInvalid in core/tests/Drupal/Tests/Core/Entity/Sql/DefaultTableMappingTest.php
Tests DefaultTableMapping::getFieldTableName() with an invalid parameter.
DerivativeDiscoveryDecoratorTest::testGetDeriverClassWithInvalidClassedDefinitions in core/tests/Drupal/Tests/Core/Plugin/Discovery/DerivativeDiscoveryDecoratorTest.php
Tests get deriver class with invalid classed definitions.
DerivativeDiscoveryDecoratorTest::testInvalidDerivativeFetcher in core/tests/Drupal/Tests/Core/Plugin/Discovery/DerivativeDiscoveryDecoratorTest.php
Tests the getDerivativeFetcher method with an invalid class.
DerivativeDiscoveryDecoratorTest::testNonExistentDerivativeFetcher in core/tests/Drupal/Tests/Core/Plugin/Discovery/DerivativeDiscoveryDecoratorTest.php
Tests the getDerivativeFetcher method with a non-existent class.
DirectoryTest::testFileDestination in core/tests/Drupal/KernelTests/Core/File/DirectoryTest.php
Tests the destination file path.
DoTrustedCallbackTraitTest::testException in core/tests/Drupal/Tests/Core/Security/DoTrustedCallbackTraitTest.php
Tests exception.
DriverModuleMissingDependenciesTest::testDetermineDriversAutoloadingFailingOnMissingDependency in core/tests/Drupal/Tests/Core/Database/DriverModuleMissingDependenciesTest.php
Tests determine drivers autoloading failing on missing dependency.
DriverSpecificSchemaTestBase::testInvalidPrimaryKeyAddition in core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php
Tests adding an invalid field specification as a primary key.
DriverSpecificSchemaTestBase::testInvalidPrimaryKeyChange in core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php
Tests changing the primary key with an invalid field specification.
DriverSpecificSchemaTestBase::testInvalidPrimaryKeyOnTableCreation in core/tests/Drupal/KernelTests/Core/Database/DriverSpecificSchemaTestBase.php
Tests an invalid field specification as a primary key on table creation.
DriverSpecificTransactionTestBase::testTransactionName in core/tests/Drupal/KernelTests/Core/Database/DriverSpecificTransactionTestBase.php
Tests for transaction names.
DrupalDateTimeTest::testChainableNonCallable in core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php
Tests that chained calls to non-existent functions throw an exception.
DrupalDateTimeTest::testInvalidDateDiff in core/tests/Drupal/Tests/Core/Datetime/DrupalDateTimeTest.php
Tests date diff exception caused by invalid input.
DrupalTest::testGetContainerException in core/tests/Drupal/Tests/Core/DrupalTest.php
Tests get container exception.
ElementTest::testInvalidChildren in core/tests/Drupal/Tests/Core/Render/ElementTest.php
Tests the children() method with an invalid key.
EntityApiTest::testUpdateWithId in core/tests/Drupal/KernelTests/Core/Entity/EntityApiTest.php
Tests that resaving an entity with a different entity ID throws an exception.
EntityApiTest::testUpdateWithRevisionId in core/tests/Drupal/KernelTests/Core/Entity/EntityApiTest.php
Tests that resaving a revision with a different revision ID throws an exception.
EntityBundleExistsConstraintValidatorTest::testValueMustBeAString in core/tests/Drupal/KernelTests/Core/Entity/EntityBundleExistsConstraintValidatorTest.php
Tests that the constraint validator will only work with strings.
EntityCloneConfigActionTest::testErrorIfOriginalDoesNotExist in core/tests/Drupal/KernelTests/Core/Recipe/EntityCloneConfigActionTest.php
Tests error if original entity does not exist.
EntityCloneConfigActionTest::testFailIfEntityExists in core/tests/Drupal/KernelTests/Core/Recipe/EntityCloneConfigActionTest.php
Tests that the action can be configured to fail if the clone exists.
EntityConditionTest::testValidation in core/modules/jsonapi/tests/src/Unit/Query/EntityConditionTest.php
Tests validation.
EntityContentBaseTest::testImportEntityLoadFailure in core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityContentBaseTest.php
Tests row skipping when we can't get an entity to save.
EntityContentBaseTest::testUntranslatable in core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityContentBaseTest.php
Tests that translation destination fails for untranslatable entities.
EntityConverterTest::testConvertWithInvalidDynamicEntityType in core/tests/Drupal/Tests/Core/ParamConverter/EntityConverterTest.php
Tests the convert() method with an invalid dynamic entity type.
EntityDisplayBaseTest::testChangeId in core/tests/Drupal/KernelTests/Core/Entity/EntityDisplayBaseTest.php
Tests that changing the entity ID updates related properties.
EntityFieldManagerTest::testGetBaseFieldDefinitionsTranslatableEntityTypeLangcode in core/tests/Drupal/Tests/Core/Entity/EntityFieldManagerTest.php
Tests the getBaseFieldDefinitions() method with a translatable entity type.
EntityFieldValueTraitTest::testGetFieldValueWithNonExistentField in core/tests/Drupal/KernelTests/Core/Entity/EntityFieldValueTraitTest.php
Tests getFieldValue() with non-existent field.
EntityMethodConfigActionsTest::testSetNestedProperty in core/tests/Drupal/KernelTests/Core/Recipe/EntityMethodConfigActionsTest.php
Test setting a nested property on a config entity.
EntityMethodConfigActionsTest::testSetPropertiesWillNotChangeEntityKeys in core/tests/Drupal/KernelTests/Core/Recipe/EntityMethodConfigActionsTest.php
Tests that the setProperties action refuses to modify entity IDs or UUIDs.
EntityQueryRelationshipTest::testInvalidFieldName in core/tests/Drupal/KernelTests/Core/Entity/EntityQueryRelationshipTest.php
Tests a non-existent field name in a complex query relationship.
EntityQueryRelationshipTest::testInvalidSpecifier in core/tests/Drupal/KernelTests/Core/Entity/EntityQueryRelationshipTest.php
Tests the invalid specifier in the query relationship.
EntityQueryTest::testAccessCheckSpecified in core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php
Test the accessCheck method is called.
EntityReferenceFieldCreationTest::testAddReferenceFieldTargetingEntityTypeWithoutId in core/modules/system/tests/src/Functional/Entity/EntityReferenceFieldCreationTest.php
Tests that entity reference fields cannot target entity types without IDs.
EntityReferenceFieldItemNormalizerTest::testDenormalizeWithEmptyUuid in core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php
Tests denormalize with empty uuid.
EntityReferenceFieldItemNormalizerTest::testDenormalizeWithTypeWithIncorrectUuid in core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php
Tests denormalize with type with incorrect uuid.
EntityReferenceFieldItemNormalizerTest::testDenormalizeWithUuidWithIncorrectType in core/modules/serialization/tests/src/Unit/Normalizer/EntityReferenceFieldItemNormalizerTest.php
Tests denormalize with uuid with incorrect type.
EntityReferenceFieldTest::testTargetEntityTypeMissing in core/tests/Drupal/KernelTests/Core/Entity/EntityReferenceFieldTest.php
Tests exception thrown with a missing target entity type.
EntityRevisionParamConverterTest::testConvertWithInvalidDynamicEntityType in core/tests/Drupal/Tests/Core/ParamConverter/EntityRevisionParamConverterTest.php
Tests the convert() method with an invalid dynamic entity type ID.
EntityRevisionParamConverterTest::testConvertWithInvalidType in core/tests/Drupal/Tests/Core/ParamConverter/EntityRevisionParamConverterTest.php
Tests the convert() method with an invalid dynamic entity type ID.
EntityRevisionTest::testNoRevisionSupport in core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityRevisionTest.php
Tests entities that do not support revisions.
EntityRevisionTest::testUntranslatable in core/modules/migrate/tests/src/Unit/Plugin/migrate/destination/EntityRevisionTest.php
Tests that translation destination fails for untranslatable entities.
EntitySerializationTest::testDenormalizeCustomSerializedItem in core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php
Tests normalizing/denormalizing custom serialized columns.
EntitySerializationTest::testDenormalizeInvalidCustomSerializedField in core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php
Tests normalizing/denormalizing invalid custom serialized fields.
EntitySerializationTest::testDenormalizeSerializedItem in core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php
Tests denormalizing serialized columns.
EntitySerializationTest::testDenormalizeStringValue in core/modules/serialization/tests/src/Kernel/EntitySerializationTest.php
Tests normalizing/denormalizing using string values.
EntityTypeManagerTest::testGetDefinitionInvalidException in core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php
Tests the getDefinition() method with an invalid definition.
EntityTypeManagerTest::testGetFormObjectInvalidClass in core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php
Tests the getFormObject() method with an invalid class.
EntityTypeManagerTest::testGetFormObjectInvalidOperation in core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php
Tests the getFormObject() method with an invalid operation.
EntityTypeManagerTest::testGetHandlerMissingHandler in core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php
Tests the getHandler() method when no controller is defined.
EntityTypeManagerTest::testProcessDefinition in core/tests/Drupal/Tests/Core/Entity/EntityTypeManagerTest.php
Tests the processDefinition() method.
EntityTypeRepositoryTest::testGetEntityTypeFromClassAmbiguous in core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php
Tests get entity type from class ambiguous.
EntityTypeRepositoryTest::testGetEntityTypeFromClassNoMatch in core/tests/Drupal/Tests/Core/Entity/EntityTypeRepositoryTest.php
Tests get entity type from class no match.
EntityTypeTest::testIdExceedsMaxLength in core/tests/Drupal/Tests/Core/Entity/EntityTypeTest.php
Tests id exceeds max length.
EntityUrlTest::testToUrlDefaultException in core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php
Tests the toUrl() method without specifying the $rel parameter.
EntityUrlTest::testToUrlNoId in core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php
Tests the toUrl() method without an entity ID.
EntityUrlTest::testToUrlUriCallbackUndefined in core/tests/Drupal/Tests/Core/Entity/EntityUrlTest.php
Tests the toUrl() method with neither link templates nor a URI callback.
ExplodeTest::testExplodeWithEmptyDelimiter in core/modules/migrate/tests/src/Unit/process/ExplodeTest.php
Tests explode fails with empty delimiter.
ExplodeTest::testExplodeWithNonStrictAndNonCastable in core/modules/migrate/tests/src/Unit/process/ExplodeTest.php
Tests Explode exception handling when string-cast fails.
ExplodeTest::testExplodeWithNonString in core/modules/migrate/tests/src/Unit/process/ExplodeTest.php
Tests explode fails properly on non-strings.
ExportStorageManagerTest::testGetStorageLock in core/tests/Drupal/KernelTests/Core/Config/ExportStorageManagerTest.php
Tests the export storage when it is locked.
ExtensionExistsConstraintValidatorTest::testValidation in core/tests/Drupal/KernelTests/Core/Extension/ExtensionExistsConstraintValidatorTest.php
Tests the ExtensionExists constraint validator.
ExtensionPathResolverTest::testExtensionPathResolvingWithNonExistingModule in core/tests/Drupal/KernelTests/Core/Bootstrap/ExtensionPathResolverTest.php
Tests extension path resolving with non existing module.
ExtensionPathResolverTest::testExtensionPathResolvingWithNonExistingProfile in core/tests/Drupal/KernelTests/Core/Bootstrap/ExtensionPathResolverTest.php
Tests extension path resolving with non existing profile.
ExtensionPathResolverTest::testExtensionPathResolvingWithNonExistingTheme in core/tests/Drupal/KernelTests/Core/Bootstrap/ExtensionPathResolverTest.php
Tests extension path resolving with non existing theme.
ExtensionPathResolverTest::testUnknownExtension in core/tests/Drupal/KernelTests/Core/Bootstrap/ExtensionPathResolverTest.php
Tests the getPath() method with an unknown extension.
ExtensionStreamTest::testDisallowedFileExtensions in core/tests/Drupal/KernelTests/Core/StreamWrapper/ExtensionStreamTest.php
Tests that certain file extensions are disallowed by default.
ExtensionStreamTest::testInvalidStreamUri in core/tests/Drupal/KernelTests/Core/StreamWrapper/ExtensionStreamTest.php
Tests invalid stream URIs.
ExtensionStreamTest::testNoExtensionError in core/tests/Drupal/KernelTests/Core/StreamWrapper/ExtensionStreamTest.php
Tests that scheme with no extension throws an exception.
ExtensionStreamTest::testStreamWrapperDirnameOnMissingExtensions in core/tests/Drupal/KernelTests/Core/StreamWrapper/ExtensionStreamTest.php
Test the dirname method on uninstalled extensions.
ExtensionStreamTest::testStreamWrapperGetExternalUrlOnMissingExtensions in core/tests/Drupal/KernelTests/Core/StreamWrapper/ExtensionStreamTest.php
Test the getExternalUrl method on uninstalled extensions.
ExtensionStreamTest::testStreamWrapperRealpathOnMissingExtensions in core/tests/Drupal/KernelTests/Core/StreamWrapper/ExtensionStreamTest.php
Test the realpath method on uninstalled extensions.
ExtensionStreamTest::testWrappersAfterModuleUninstall in core/tests/Drupal/KernelTests/Core/StreamWrapper/ExtensionStreamTest.php
Tests stream wrappers after module uninstall.
ExtensionStreamTest::testWrappersAfterThemeUninstall in core/tests/Drupal/KernelTests/Core/StreamWrapper/ExtensionStreamTest.php
Tests stream wrappers after theme uninstall.
ExtensionVersionTest::testInvalidBranch in core/tests/Drupal/Tests/Core/Extension/ExtensionVersionTest.php
Tests invalid branch.
ExtensionVersionTest::testInvalidBranchCorePrefix in core/tests/Drupal/Tests/Core/Extension/ExtensionVersionTest.php
Tests invalid branch core prefix.
ExtensionVersionTest::testInvalidVersionCorePrefix in core/tests/Drupal/Tests/Core/Extension/ExtensionVersionTest.php
Tests invalid version core prefix.
ExtensionVersionTest::testInvalidVersionNumber in core/tests/Drupal/Tests/Core/Extension/ExtensionVersionTest.php
Tests invalid version number.
ExtractorTest::testCreateIconExceptionTemplate in core/tests/Drupal/Tests/Core/Theme/Icon/Plugin/ExtractorTest.php
Test the IconExtractorBase:createIcon method with Exception.
ExtractorTest::testDiscoverIconsExceptionSource in core/tests/Drupal/Tests/Core/Theme/Icon/Plugin/ExtractorTest.php
Test the IconExtractorWithFinder:checkRequiredConfigSources method.
ExtractorTest::testDiscoverIconsExceptionSourceEmpty in core/tests/Drupal/Tests/Core/Theme/Icon/Plugin/ExtractorTest.php
Test the IconExtractorWithFinder:checkRequiredConfigSources method.
ExtractorTest::testGetFilesFromSourcesExceptionRelativePath in core/tests/Drupal/Tests/Core/Theme/Icon/Plugin/ExtractorTest.php
Test the IconExtractorWithFinder::getFilesFromSources method.
ExtractTest::testExtractFail in core/modules/migrate/tests/src/Unit/process/ExtractTest.php
Tests unsuccessful extraction.
ExtractTest::testExtractInvalid in core/modules/migrate/tests/src/Unit/process/ExtractTest.php
Tests invalid input.
FailureMarkerTest::testExceptionForInvalidYaml in core/modules/package_manager/tests/src/Kernel/FailureMarkerTest.php
Tests that an exception is thrown if the marker file contains invalid YAML.
FetchTest::testQueryFetchColIndexOutOfRange in core/tests/Drupal/KernelTests/Core/Database/FetchTest.php
Confirms that an out of range index in fetchCol() throws an error.
FetchTest::testQueryFetchColumnOutOfRange in core/tests/Drupal/KernelTests/Core/Database/FetchTest.php
Confirms that an out of range index throws an error.
FetchTest::testQueryFetchFieldIndexOutOfRange in core/tests/Drupal/KernelTests/Core/Database/FetchTest.php
Confirms that an out of range index in fetchField() throws an error.
FieldableEntityDefinitionUpdateTest::testFieldableEntityTypeUpdatesErrorHandling in core/tests/Drupal/KernelTests/Core/Entity/FieldableEntityDefinitionUpdateTest.php
Tests that a failed entity schema update preserves the existing data.
FieldConfigEntityUnitTest::testCalculateDependenciesIncorrectBundle in core/modules/field/tests/src/Unit/FieldConfigEntityUnitTest.php
Tests that invalid bundles are handled.
FieldInputValueNormalizerTraitTest::testScalarWithNoMainProperty in core/tests/Drupal/Tests/Core/Field/FieldInputValueNormalizerTraitTest.php
Tests scalar with no main property.
FieldItemSerializationTest::testFieldDenormalizeWithScalarValue in core/modules/serialization/tests/src/Kernel/FieldItemSerializationTest.php
Tests denormalizing using a scalar field value.
FieldMissingTypeTest::testFieldMissingType in core/tests/Drupal/KernelTests/Core/Field/FieldMissingTypeTest.php
Tests the exception thrown when missing a field type in fields.
FieldMissingTypeTest::testFieldStorageMissingType in core/tests/Drupal/KernelTests/Core/Field/FieldMissingTypeTest.php
Tests the exception thrown when missing a field type in field storages.
FieldResolverTest::testResolveInternalEntityQueryPathError in core/modules/jsonapi/tests/src/Kernel/Context/FieldResolverTest.php
Expects an error when an invalid field is provided for filter and sort.
FieldResolverTest::testResolveInternalIncludePathError in core/modules/jsonapi/tests/src/Kernel/Context/FieldResolverTest.php
Expects an error when an invalid field is provided for include.
FieldStorageConfigEntityUnitTest::testInvalidEnforcedCardinality in core/modules/field/tests/src/Unit/FieldStorageConfigEntityUnitTest.php
Tests invalid enforced cardinality.
FieldStorageCreateCheckTest::testFieldStorageCreateCheck in core/tests/Drupal/KernelTests/Core/Field/FieldStorageCreateCheckTest.php
Tests the field storage create check subscriber.
FieldStorageCrudTest::testUpdateEntityTargetType in core/modules/field/tests/src/Kernel/FieldStorageCrudTest.php
Tests changing a field storage entity type.
FieldStorageCrudTest::testUpdateEntityType in core/modules/field/tests/src/Kernel/FieldStorageCrudTest.php
Tests changing a field storage type.
FileCopyTest::testNonExistentSourceFile in core/modules/migrate/tests/src/Kernel/process/FileCopyTest.php
Tests that non-existent files throw an exception.
FileCopyTest::testNonWritableDestination in core/modules/migrate/tests/src/Kernel/process/FileCopyTest.php
Tests that non-writable destination throw an exception.
FileDeleteTest::testSymlinkDirectoryStreamWrappers in core/tests/Drupal/KernelTests/Core/File/FileDeleteTest.php
Tests deleting using a symlinked directory using stream wrappers.
FileRepositoryTest::testInvalidStreamWrapper in core/modules/file/tests/src/Kernel/FileRepositoryTest.php
Tests for an invalid stream wrapper.
FileStorageFactoryTest::testGetSync in core/tests/Drupal/KernelTests/Core/Config/FileStorageFactoryTest.php
Tests get sync.
FileSystemTest::testCopyFailureIfFileAlreadyExists in core/tests/Drupal/KernelTests/Core/File/FileSystemTest.php
Tests copy failure if file already exists.
FileSystemTest::testCopyFailureIfSelfOverwrite in core/tests/Drupal/KernelTests/Core/File/FileSystemTest.php
Tests copy failure if self overwrite.
FileSystemTest::testDestinationDirectoryFailureOnCopy in core/tests/Drupal/KernelTests/Core/File/FileSystemTest.php
Tests destination directory failure on copy.
FileSystemTest::testEnsureFileExistsBeforeCopy in core/tests/Drupal/KernelTests/Core/File/FileSystemTest.php
Tests ensure file exists before copy.
FileSystemTest::testInvalidUTF8 in core/tests/Drupal/Tests/Core/File/FileSystemTest.php
Tests that invalid UTF-8 results in an exception.
FileUploadHandlerTest::testLockAcquireException in core/modules/file/tests/src/Kernel/FileUploadHandlerTest.php
Test the lock acquire exception.
FileUploadSanitizeNameEventTest::testConstructorException in core/tests/Drupal/Tests/Core/File/FileUploadSanitizeNameEventTest.php
Tests constructor exception.
FileUploadSanitizeNameEventTest::testSetFilenameException in core/tests/Drupal/Tests/Core/File/FileUploadSanitizeNameEventTest.php
Tests set filename exception.
FilterTest::testInvalidFilterPathDueMissingMetaPrefixReferenceFieldWithMetaProperties in core/modules/jsonapi/tests/src/Kernel/Query/FilterTest.php
Tests invalid filter path due missing meta prefix reference field with meta properties.
FilterTest::testInvalidFilterPathDueToElidedSoleProperty in core/modules/jsonapi/tests/src/Kernel/Query/FilterTest.php
Tests invalid filter path due to elided sole property.
FilterTest::testInvalidFilterPathDueToMissingPropertyName in core/modules/jsonapi/tests/src/Kernel/Query/FilterTest.php
Tests invalid filter path due to missing property name.
FilterTest::testInvalidFilterPathDueToMissingPropertyNameReferenceFieldWithMetaProperties in core/modules/jsonapi/tests/src/Kernel/Query/FilterTest.php
Tests invalid filter path due to missing property name reference field with meta properties.
FilterTest::testInvalidFilterPathDueToMissingPropertyNameReferenceFieldWithoutMetaProperties in core/modules/jsonapi/tests/src/Kernel/Query/FilterTest.php
Tests invalid filter path due to missing property name reference field without meta properties.
FilterTest::testInvalidFilterPathDueToNonexistentProperty in core/modules/jsonapi/tests/src/Kernel/Query/FilterTest.php
Tests invalid filter path due to nonexistent property.
FixtureManipulatorTest::testActiveManipulatorNoCommitError in core/modules/package_manager/tests/src/Kernel/FixtureManipulatorTest.php
Test that an exception is thrown if ::commitChanges() is not called.
FlattenTest::testFlattenInvalid in core/modules/migrate/tests/src/Unit/process/FlattenTest.php
Tests that Flatten throws a MigrateException.
FormatDateTest::testMigrateExceptionBadFormat in core/modules/migrate/tests/src/Unit/process/FormatDateTest.php
Tests that date format mismatches will throw an exception.
FormatDateTest::testMigrateExceptionMissingFromFormat in core/modules/migrate/tests/src/Unit/process/FormatDateTest.php
Tests that missing configuration will throw an exception.
FormatDateTest::testMigrateExceptionMissingToFormat in core/modules/migrate/tests/src/Unit/process/FormatDateTest.php
Tests that missing configuration will throw an exception.
FormatDateTest::testMigrateExceptionUnexpectedValue in core/modules/migrate/tests/src/Unit/process/FormatDateTest.php
Tests that an unexpected date value will throw an exception.
FormBuilderTest::testBuildFormWithString in core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php
Tests the buildForm() method with a string based form ID.
FormBuilderTest::testGetFormIdWithNonFormClass in core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php
Tests get form id with non form class.
FormBuilderTest::testGetFormIdWithString in core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php
Tests the getFormId() method with a string based form ID.
FormBuilderTest::testGetFormWithString in core/tests/Drupal/Tests/Core/Form/FormBuilderTest.php
Tests the getForm() method with a string based form ID.
FormStateTest::testFormErrorsDuringSubmission in core/tests/Drupal/Tests/Core/Form/FormStateTest.php
Tests that form errors during submission throw an exception.
FormStateTest::testSetCachedGet in core/tests/Drupal/Tests/Core/Form/FormStateTest.php
Tests set cached get.
FrontMatterTest::testFrontMatterBroken in core/tests/Drupal/KernelTests/Core/Theme/FrontMatterTest.php
Tests broken front matter.
HelpTopicDiscoveryTest::testDiscoveryExceptionInvalidRelated in core/modules/help/tests/src/Unit/HelpTopicDiscoveryTest.php
Tests discovery exception invalid related.
HelpTopicDiscoveryTest::testDiscoveryExceptionInvalidTopLevel in core/modules/help/tests/src/Unit/HelpTopicDiscoveryTest.php
Tests discovery exception invalid top level.
HelpTopicDiscoveryTest::testDiscoveryExceptionInvalidYamlKey in core/modules/help/tests/src/Unit/HelpTopicDiscoveryTest.php
Tests discovery exception invalid yaml key.
HelpTopicDiscoveryTest::testDiscoveryExceptionMissingLabel in core/modules/help/tests/src/Unit/HelpTopicDiscoveryTest.php
Tests discovery exception missing label.
HelpTopicDiscoveryTest::testHelpTopicsBrokenYaml in core/modules/help/tests/src/Unit/HelpTopicDiscoveryTest.php
Tests help topics broken yaml.
HelpTopicTwigLoaderTest::testGetSourceContextException in core/modules/help/tests/src/Unit/HelpTopicTwigLoaderTest.php
Tests get source context exception.
HTMLRestrictionsTest::testConstructor in core/modules/ckeditor5/tests/src/Unit/HTMLRestrictionsTest.php
Tests constructor.
IconDefinitionTest::testCreateIconError in core/tests/Drupal/Tests/Core/Theme/Icon/IconDefinitionTest.php
Test the IconDefinition::create method with errors.
IconPackManagerKernelTest::testProcessDefinitionExceptionName in core/tests/Drupal/KernelTests/Core/Theme/Icon/IconPackManagerKernelTest.php
Test the IconPackManager::processDefinition method with exception.
IconPackManagerKernelTest::testProcessDefinitionExceptionRequired in core/tests/Drupal/KernelTests/Core/Theme/Icon/IconPackManagerKernelTest.php
Test the IconPackManager::processDefinition method with exception.
ImmutableConfigTest::testClear in core/tests/Drupal/Tests/Core/Config/ImmutableConfigTest.php
Tests clear.
ImmutableConfigTest::testDelete in core/tests/Drupal/Tests/Core/Config/ImmutableConfigTest.php
Tests delete.
ImmutableConfigTest::testSave in core/tests/Drupal/Tests/Core/Config/ImmutableConfigTest.php
Tests save.
ImmutableConfigTest::testSet in core/tests/Drupal/Tests/Core/Config/ImmutableConfigTest.php
Tests set.
ImmutablePropertiesConstraintValidatorTest::testValidatedEntityMustHaveAnId in core/tests/Drupal/KernelTests/Core/Entity/ImmutablePropertiesConstraintValidatorTest.php
Tests that entities without an ID will raise an exception.
ImmutablePropertiesConstraintValidatorTest::testValidatorRejectsANonExistentProperty in core/tests/Drupal/KernelTests/Core/Entity/ImmutablePropertiesConstraintValidatorTest.php
Tests that the validator throws an exception for non-existent properties.
ImmutablePropertiesConstraintValidatorTest::testValidatorRequiresAConfigEntity in core/tests/Drupal/KernelTests/Core/Entity/ImmutablePropertiesConstraintValidatorTest.php
Tests that only config entities are accepted by the validator.
ImportStorageTransformerTest::testTransformLocked in core/tests/Drupal/KernelTests/Core/Config/ImportStorageTransformerTest.php
Tests that the import transformer throws an exception.
InfoParserUnitTest::testInfoException in core/tests/Drupal/Tests/Core/Extension/InfoParserUnitTest.php
Tests if correct exception is thrown for a broken info file.
InfoParserUnitTest::testInfoParserBroken in core/tests/Drupal/Tests/Core/Extension/InfoParserUnitTest.php
Tests that the correct exception is thrown for a broken info file.
InfoParserUnitTest::testInfoParserNonExisting in core/tests/Drupal/Tests/Core/Extension/InfoParserUnitTest.php
Tests the functionality of the infoParser object.
InfoParserUnitTest::testInvalidLifecycle in core/tests/Drupal/Tests/Core/Extension/InfoParserUnitTest.php
Tests an info file with invalid lifecycle values.
InfoParserUnitTest::testLifecycleLink in core/tests/Drupal/Tests/Core/Extension/InfoParserUnitTest.php
Tests an info file's lifecycle_link values.
InfoParserUnitTest::testUnparsableCoreVersionRequirement in core/tests/Drupal/Tests/Core/Extension/InfoParserUnitTest.php
Tests the exception for an unparsable 'core_version_requirement' value.
InputTest::testDefaultValueFromNonExistentConfigWithFallback in core/tests/Drupal/KernelTests/Core/Recipe/InputTest.php
Tests getting the fallback default value from non-existing configuration.
InputTest::testFallbackValueForUndefinedEnvironmentVariable in core/tests/Drupal/KernelTests/Core/Recipe/InputTest.php
Tests getting a fallback value for an undefined environment variable.
InputTest::testInputInConfigEntityIds in core/tests/Drupal/KernelTests/Core/Recipe/InputTest.php
Tests using input values in entity IDs for config actions.
InputTest::testMissingArgumentsThrowsException in core/tests/Drupal/KernelTests/Core/Recipe/InputTest.php
Tests missing arguments throws exception.
InstalledPackagesListTest::testImmutability in core/modules/package_manager/tests/src/Unit/InstalledPackagesListTest.php
Tests immutability.
InstalledPackagesListTest::testPackageByDrupalProjectName in core/modules/package_manager/tests/src/Kernel/InstalledPackagesListTest.php
Tests package by drupal project name.
InstalledPackageTest::testMetapackageWithAPath in core/modules/package_manager/tests/src/Unit/InstalledPackageTest.php
Tests metapackage with a path.
InstallTest::testInstallModuleSameNameAsTheme in core/modules/system/tests/src/Kernel/Module/InstallTest.php
Tests installing a module with the same name as an enabled theme.
InstallTest::testModuleNameLength in core/modules/system/tests/src/Kernel/Module/InstallTest.php
Tests that an exception is thrown when a module name is too long.
InstallTest::testModuleNameLengthWithoutDependencyCheck in core/modules/system/tests/src/Kernel/Module/InstallTest.php
Tests that an exception is thrown when a module name is too long.
JsonApiDocumentTopLevelNormalizerTest::testDenormalizeUuid in core/modules/jsonapi/tests/src/Unit/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php
Ensures only valid UUIDs can be specified.
KeyValueEntityStorageTest::testSaveDuplicate in core/tests/Drupal/Tests/Core/Entity/KeyValueStore/KeyValueEntityStorageTest.php
Tests save duplicate.
KeyValueEntityStorageTest::testSaveInvalid in core/tests/Drupal/Tests/Core/Entity/KeyValueStore/KeyValueEntityStorageTest.php
Tests save invalid.
LayoutBuilderIsActiveCacheContextTest::testGetContextMissingEntityTypeId in core/modules/layout_builder/tests/src/Unit/LayoutBuilderIsActiveCacheContextTest.php
Tests get context missing entity type id.
LayoutPluginManagerTest::testProcessDefinition in core/tests/Drupal/Tests/Core/Layout/LayoutPluginManagerTest.php
Tests process definition.
LayoutTempstoreRepositoryTest::testGetInvalidEntry in core/modules/layout_builder/tests/src/Unit/LayoutTempstoreRepositoryTest.php
Tests get invalid entry.
LazyContextRepositoryTest::testInvalidContextId in core/tests/Drupal/Tests/Core/Plugin/Context/LazyContextRepositoryTest.php
Tests invalid context id.
LibraryDependencyResolverTest::testGetMinimalRepresentativeSubsetInvalidInput in core/tests/Drupal/Tests/Core/Asset/LibraryDependencyResolverTest.php
Tests get minimal representative subset invalid input.
LibraryDiscoveryParserTest::testBuildByExtensionWithMissingInformation in core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php
Tests that an exception is thrown with only the version property specified.
LibraryDiscoveryParserTest::testCssAssert in core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php
Verify an assertion fails if CSS declarations have non-existent categories.
LibraryDiscoveryParserTest::testLibraryThirdPartyWithMissingLicense in core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php
Tests that an exception is thrown when license is missing when 3rd party.
LinearHistoryTest::testAddException in core/tests/Drupal/Tests/Core/Config/Checkpoint/LinearHistoryTest.php
Tests add exception.
LinearHistoryTest::testDeleteException in core/tests/Drupal/Tests/Core/Config/Checkpoint/LinearHistoryTest.php
Tests delete exception.
LinearHistoryTest::testGetParentsException in core/tests/Drupal/Tests/Core/Config/Checkpoint/LinearHistoryTest.php
Tests get parents exception.
LinkFormatterTest::testFormatterLinkItemUrlUnexpectedException in core/modules/link/tests/src/Unit/LinkFormatterTest.php
Tests when LinkItem::getUrl throws an unexpected exception.
LinkItemSerializationTest::testLinkDeserialization in core/modules/link/tests/src/Kernel/LinkItemSerializationTest.php
Tests the deserialization.
LinkUriTest::testNotRouted in core/modules/migrate/tests/src/Kernel/process/LinkUriTest.php
Tests that Non routed URLs throws an exception.
MachineNameTest::testInvalidConfiguration in core/modules/migrate/tests/src/Unit/process/MachineNameTest.php
Tests that the replacement regular expression is a string.
MachineNameTest::testMachineNameOrderException in core/tests/Drupal/KernelTests/Core/Render/Element/MachineNameTest.php
Tests the order of the machine name field and the source.
MakeUniqueEntityFieldTest::testMakeUniqueEntityFieldEntityInvalidLength in core/modules/migrate/tests/src/Unit/process/MakeUniqueEntityFieldTest.php
Tests that invalid length option throws an exception.
MakeUniqueEntityFieldTest::testMakeUniqueEntityFieldEntityInvalidStart in core/modules/migrate/tests/src/Unit/process/MakeUniqueEntityFieldTest.php
Tests that invalid start position throws an exception.
MappingTest::testInvalidMappingKeyDefinition in core/tests/Drupal/KernelTests/Config/Schema/MappingTest.php
Tests invalid mapping key definition.
MappingTest::testInvalidRequiredKeyFlag in core/tests/Drupal/KernelTests/Config/Schema/MappingTest.php
Tests invalid required key flag.
MediaLibraryAddFormTest::testFormStateValidation in core/modules/media_library/tests/src/Kernel/MediaLibraryAddFormTest.php
Tests the validation of the library state in the media library add form.
MediaLibraryAddFormTest::testSelectedTypeValidation in core/modules/media_library/tests/src/Kernel/MediaLibraryAddFormTest.php
Tests the validation of the selected type in the media library add form.
MediaLibraryStateTest::testCreate in core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php
Tests the media library state creation.
MediaLibraryStateTest::testFromRequest in core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php
Tests the hash validation when the state is created from a request.
MediaLibraryStateTest::testFromRequestQueryLess in core/modules/media_library/tests/src/Kernel/MediaLibraryStateTest.php
Tests from request query less.
MenuLinkParentTest::testConstructorException in core/modules/migrate/tests/src/Unit/process/MenuLinkParentTest.php
Tests that an exception is thrown for invalid options.
MenuLinkParentTest::testTransformException in core/modules/migrate/tests/src/Unit/process/MenuLinkParentTest.php
Tests that an exception is thrown when the parent menu link is not found.
MenuStorageTest::testMaxIdLengthException in core/modules/system/tests/src/Kernel/Menu/MenuStorageTest.php
Tests MenuStorage::MAX_ID_LENGTH is enforced.
MergeTest::testMergeToString in core/tests/Drupal/KernelTests/Core/Database/MergeTest.php
Tests merge to string.
MigrateExecutableTest::testProcessRowPipelineException in core/modules/migrate/tests/src/Unit/MigrateExecutableTest.php
Tests the processRow pipeline exception.
MigrateLookupTest::testExceptionOnMigrationNotFound in core/modules/migrate/tests/src/Unit/MigrateLookupTest.php
Tests message logged when a single migration is not found.
MigrateLookupTest::testExceptionOnMultipleMigrationsNotFound in core/modules/migrate/tests/src/Unit/MigrateLookupTest.php
Tests message logged when multiple migrations are not found.
MigrateLookupTest::testInvalidIdLookup in core/modules/migrate/tests/src/Kernel/MigrateLookupTest.php
Tests an invalid lookup.
MigrateMissingDatabaseTest::testMissingDatabase in core/modules/migrate/tests/src/Kernel/MigrateMissingDatabaseTest.php
Tests a SQL migration without the database connection.
MigrateSqlIdMapTest::testGetHighestIdInvalid in core/modules/migrate/tests/src/Unit/MigrateSqlIdMapTest.php
Tests getHighestId method with invalid data.
MigrateStubTest::testExceptionOnDerivedMigration in core/modules/migrate/tests/src/Unit/MigrateStubTest.php
Tests that an error is logged on derived migrations.
MigrateStubTest::testExceptionOnPluginNotFound in core/modules/migrate/tests/src/Unit/MigrateStubTest.php
Tests that an error is logged if the plugin manager throws an exception.
MigrateStubTest::testInvalidSourceIdCount in core/modules/migrate/tests/src/Kernel/MigrateStubTest.php
Tests invalid source id count.
MigrateStubTest::testInvalidSourceIdKeys in core/modules/migrate/tests/src/Kernel/MigrateStubTest.php
Tests invalid source ids keys.
MigrationLookupTest::testTransformWithStubbing in core/modules/migrate/tests/src/Unit/process/MigrationLookupTest.php
Tests transform with stubbing.
MigrationTest::testGetDestinationPlugin in core/modules/migrate/tests/src/Kernel/Plugin/MigrationTest.php
Tests Migration::getDestinationPlugin()
MigrationTest::testGetProcessPluginsException in core/modules/migrate/tests/src/Kernel/Plugin/MigrationTest.php
Tests Migration::getProcessPlugins() throws an exception.
MigrationTest::testGetProcessPluginsExceptionMessage in core/modules/migrate/tests/src/Kernel/Plugin/MigrationTest.php
Tests Migration::getProcessPlugins()
MigrationTest::testMigrationDependenciesInConstructor in core/modules/migrate/tests/src/Unit/MigrationTest.php
Tests checking migration dependencies in the constructor.
MigrationTest::testMigrationDependenciesWithInvalidConfig in core/modules/migrate/tests/src/Unit/MigrationTest.php
Tests that getting migration dependencies fails with invalid configuration.
MigrationTest::testRequirementsForDestinationPlugin in core/modules/migrate/tests/src/Unit/MigrationTest.php
Tests checking requirements for destination plugins.
MigrationTest::testRequirementsForMigrations in core/modules/migrate/tests/src/Unit/MigrationTest.php
Tests checking requirements for destination plugins.
MigrationTest::testRequirementsForSourcePlugin in core/modules/migrate/tests/src/Unit/MigrationTest.php
Tests checking requirements for source plugins.
ModuleHandlerTest::testProfileAllDependencies in core/modules/system/tests/src/Kernel/Extension/ModuleHandlerTest.php
Tests that a profile can supply only real dependencies.
ModuleInstallerTest::testDependencyInvalidCoreInstall in core/tests/Drupal/KernelTests/Core/Extension/ModuleInstallerTest.php
Tests install with a dependency with an invalid core version constraint.
ModuleInstallerTest::testInvalidCoreInstall in core/tests/Drupal/KernelTests/Core/Extension/ModuleInstallerTest.php
Tests install with a module with an invalid core version constraint.
ModuleInstallerTest::testObsoleteInstall in core/tests/Drupal/KernelTests/Core/Extension/ModuleInstallerTest.php
Tests trying to install an obsolete module.
MoveTest::testInvalidStreamWrapper in core/modules/file/tests/src/Kernel/MoveTest.php
Tests for an invalid stream wrapper.
NamedPlaceholderConverterTest::testParseReuseObject in core/modules/mysqli/tests/src/Unit/NamedPlaceholderConverterTest.php
Tests reusing the parser object.
OEmbedIframeControllerTest::testBadHashParameter in core/modules/media/tests/src/Kernel/OEmbedIframeControllerTest.php
Tests validation of the 'hash' query string parameter.
OverrideMenuLinksConfigActionTest::testConfigName in core/tests/Drupal/KernelTests/Core/Menu/OverrideMenuLinksConfigActionTest.php
Tests that the action only works on core.menu.static_menu_link_overrides.
ParamConverterManagerTest::testConvertMissingParam in core/tests/Drupal/Tests/Core/ParamConverter/ParamConverterManagerTest.php
Tests convert missing param.
PasswordItemTest::testPreSaveExceptionExisting in core/tests/Drupal/KernelTests/Core/Field/FieldType/PasswordItemTest.php
Tests pre save exception existing.
PasswordItemTest::testPreSaveExceptionNew in core/tests/Drupal/KernelTests/Core/Field/FieldType/PasswordItemTest.php
Tests pre save exception new.
PathChangedHelperTest::testPathChangedHelperException in core/tests/Drupal/Tests/Core/Routing/PathChangedHelperTest.php
Tests that the constructor validates its arguments.
PermissionsPerBundleTest::testActionIsOnlyAvailableToUserRoles in core/tests/Drupal/KernelTests/Core/Recipe/PermissionsPerBundleTest.php
Tests that the permissions-per-bundle action can only be applied to roles.
PermissionsPerBundleTest::testInvalidValue in core/tests/Drupal/KernelTests/Core/Recipe/PermissionsPerBundleTest.php
Tests that there is an exception if the permission templates are invalid.
PluginExistsConstraintTest::testMissingOption in core/tests/Drupal/Tests/Core/Plugin/PluginExistsConstraintTest.php
Tests missing option.
PluginFormFactoryTest::testCreateInstanceDefinitionException in core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php
Tests create instance definition exception.
PluginFormFactoryTest::testCreateInstanceInvalidException in core/tests/Drupal/Tests/Core/Plugin/PluginFormFactoryTest.php
Tests create instance invalid exception.
ProcessOutputCallbackTest::testInvalidJson in core/modules/package_manager/tests/src/Unit/ProcessOutputCallbackTest.php
Tests what happens when the output buffer has invalid JSON.
ProjectInfoTest::testNotPublishedProject in core/modules/package_manager/tests/src/Kernel/ProjectInfoTest.php
Tests a project with a status other than "published".
ProviderRepositoryTest::testEmptyProviderList in core/modules/media/tests/src/Kernel/ProviderRepositoryTest.php
Tests that provider discovery fails if the provider database is empty.
ProviderRepositoryTest::testNonExistingProviderDatabase in core/modules/media/tests/src/Kernel/ProviderRepositoryTest.php
Tests that provider discovery fails with a non-existent provider database.
QueryBatchTest::testBatchSizeNegative in core/modules/migrate/tests/src/Kernel/QueryBatchTest.php
Tests a negative batch size throws an exception.
QueryBatchTest::testBatchSizeNonInteger in core/modules/migrate/tests/src/Kernel/QueryBatchTest.php
Tests a non integer batch size throws an exception.
QueryFactoryTest::testGetKeysWildCardEnd in core/tests/Drupal/Tests/Core/Config/Entity/Query/QueryFactoryTest.php
Tests get keys wild card end.
QueryTest::testNoBaseTable in core/tests/Drupal/Tests/Core/Entity/Query/Sql/QueryTest.php
Tests entity query for entity type without base table.
QueryTest::testNoRevisionTable in core/tests/Drupal/Tests/Core/Entity/Query/Sql/QueryTest.php
Tests revision entity query for entity type without revision table.
RecipeMultipleModulesConfigStorageTest::testCreateFromModuleListEmpty in core/tests/Drupal/Tests/Core/Recipe/RecipeMultipleModulesConfigStorageTest.php
Tests createFromModuleList() throws when given an empty module list.
RecipeRunnerTest::testApplySameRecipe in core/tests/Drupal/KernelTests/Core/Recipe/RecipeRunnerTest.php
Tests applying a recipe multiple times.
RecipeRunnerTest::testInvalidConfigAction in core/tests/Drupal/KernelTests/Core/Recipe/RecipeRunnerTest.php
Tests a recipe with an invalid configuration action.
RecipeRunnerTest::testInvalidConfigActionAppliedOnConfigEntity in core/tests/Drupal/KernelTests/Core/Recipe/RecipeRunnerTest.php
Tests a recipe with an invalid action configuration.
RecipeTest::testCreateFromDirectoryNoRecipe in core/tests/Drupal/KernelTests/Core/Recipe/RecipeTest.php
Tests creating a recipe from an empty directory.
RendererBubblingTest::testOverWriteCacheKeys in core/tests/Drupal/Tests/Core/Render/RendererBubblingTest.php
Tests that an element's cache keys cannot be changed during its rendering.
RendererCallbackTest::testCallback in core/tests/Drupal/Tests/Core/Render/RendererCallbackTest.php
Tests the expected deprecations are triggered by Renderer::doCallback().
RendererPlaceholdersTest::testChildrenPlusBuilder in core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php
Tests children plus builder.
RendererPlaceholdersTest::testCreatePlaceholderPropertyWithoutLazyBuilder in core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php
Tests create placeholder property without lazy builder.
RendererPlaceholdersTest::testInvalidLazyBuilder in core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php
Tests invalid lazy builder.
RendererPlaceholdersTest::testInvalidLazyBuilderArguments in core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php
Tests invalid lazy builder arguments.
RendererPlaceholdersTest::testNonArrayReturnFromLazyBuilder in core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php
Tests that an error is thrown if a lazy builder doesn't return an array.
RendererPlaceholdersTest::testNonScalarLazyBuilderCallbackContext in core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php
Tests non scalar lazy builder callback context.
RendererPlaceholdersTest::testPropertiesPlusBuilder in core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php
Tests properties plus builder.
RequestFormatRouteFilterTest::testNoRouteFound in core/tests/Drupal/Tests/Core/Routing/RequestFormatRouteFilterTest.php
Tests no route found.
RequestFormatRouteFilterTest::testNoRouteFoundWhenNoRequestFormatAndSingleRouteWithMultipleFormats in core/tests/Drupal/Tests/Core/Routing/RequestFormatRouteFilterTest.php
Tests no route found when no request format and single route with multiple formats.
RequiredStatesTest::testDeleteRequiredStateAPI in core/modules/workflows/tests/src/Kernel/RequiredStatesTest.php
Tests delete required state a p i.
RequiredStatesTest::testNoStatesRequiredStateAPI in core/modules/workflows/tests/src/Kernel/RequiredStatesTest.php
Tests no states required state a p i.
ResourceFetcherTest::testUnknownContentTypeHeader in core/modules/media/tests/src/Unit/ResourceFetcherTest.php
Tests how the resource fetcher handles unknown Content-Type headers.
ResourceTest::testSetDimensions in core/modules/media/tests/src/Unit/ResourceTest.php
Tests set dimensions.
ResourceTypeRepositoryTest::testMappingNameConflictCheck in core/modules/jsonapi/tests/src/Kernel/ResourceType/ResourceTypeRepositoryTest.php
Ensures that a naming conflict in mapping causes an exception to be thrown.
RevisionableContentEntityBaseTest::testWasDefaultRevision in core/tests/Drupal/KernelTests/Core/Entity/RevisionableContentEntityBaseTest.php
Tests the behavior of the "revision_default" flag.
RoleExistsConstraintValidatorTest::testValueMustBeAString in core/modules/user/tests/src/Kernel/Plugin/Validation/Constraint/RoleExistsConstraintValidatorTest.php
Tests that the constraint validator will only work with strings.
RowTest::testSetFrozenRow in core/modules/migrate/tests/src/Unit/RowTest.php
Tests setting on a frozen row.
SandboxManagerBaseTest::testFailureCollectPathsToExclude in core/modules/package_manager/tests/src/Kernel/SandboxManagerBaseTest.php
Tests that if a stage fails to get paths to exclude, throws a stage exception.
SandboxManagerBaseTest::testFailureCollectPathsToExcludeOnApply in core/modules/package_manager/tests/src/Kernel/SandboxManagerBaseTest.php
Tests that if apply fails to get paths to exclude, throws a stage exception.
SandboxManagerBaseTest::testStoreDestroyInfo in core/modules/package_manager/tests/src/Kernel/SandboxManagerBaseTest.php
Tests exceptions thrown because of previously destroyed stage.
SandboxManagerBaseTest::testTempStoreMessageExpired in core/modules/package_manager/tests/src/Kernel/SandboxManagerBaseTest.php
Tests exception message once temp store message has expired.
SandboxManagerBaseTest::testTypeMustBeExplicitlyOverridden in core/modules/package_manager/tests/src/Unit/SandboxManagerBaseTest.php
Tests type must be explicitly overridden.
SandboxManagerBaseTest::testUncreatedGetSandboxDirectory in core/modules/package_manager/tests/src/Kernel/SandboxManagerBaseTest.php
Tests uncreated get sandbox directory.
SchemaTest::testSchemaTableColumnSizeTooLargeException in core/modules/mysql/tests/src/Kernel/mysql/SchemaTest.php
Tests SchemaTableColumnSizeTooLargeException.
SectionDataTest::testSetArrayValue in core/modules/layout_builder/tests/src/Kernel/SectionDataTest.php
Tests set array value.
SectionListTestBase::testGetSectionInvalidDelta in core/modules/layout_builder/tests/src/Kernel/SectionListTestBase.php
Tests get section invalid delta.
SectionListTraitTest::testAddBlankSection in core/modules/layout_builder/tests/src/Kernel/SectionListTraitTest.php
Tests add blank section.
SectionRenderTest::testToRenderArrayMissingPluginId in core/modules/layout_builder/tests/src/Unit/SectionRenderTest.php
Tests to render array missing plugin id.
SectionTest::testGetComponentInvalidUuid in core/modules/layout_builder/tests/src/Unit/SectionTest.php
Tests get component invalid uuid.
SectionTest::testInsertAfterComponentInvalidUuid in core/modules/layout_builder/tests/src/Unit/SectionTest.php
Tests insert after component invalid uuid.
SectionTest::testInsertAfterComponentValidUuidRegionMismatch in core/modules/layout_builder/tests/src/Unit/SectionTest.php
Tests insert after component valid uuid region mismatch.
SectionTest::testInsertComponentInvalidDelta in core/modules/layout_builder/tests/src/Unit/SectionTest.php
Tests insert component invalid delta.
SelectTest::testNonArrayOperatorWithArrayValueCondition in core/tests/Drupal/KernelTests/Core/Database/SelectTest.php
Tests thrown exception for non array operator conditions with array value.
SettingsConfigValidationTest::testPreviewImagePathIsValidated in core/modules/image/tests/src/Kernel/SettingsConfigValidationTest.php
Tests that the preview_image setting must be an existing image file.
SkipOnEmptyTest::testRowSkipWithMessage in core/modules/migrate/tests/src/Unit/process/SkipOnEmptyTest.php
Tests that a skip row exception with a message is raised.
SkipRowIfNotSetTest::testRowSkipWithMessage in core/modules/migrate/tests/src/Unit/process/SkipRowIfNotSetTest.php
Tests that a skip row exception with a message is raised.
SpecialAttributesRouteSubscriberTest::testOnRouteBuildingInvalidVariables in core/tests/Drupal/Tests/Core/EventSubscriber/SpecialAttributesRouteSubscriberTest.php
Tests the onAlterRoutes method for invalid variables.
SqlBaseTest::testBrokenConnection in core/modules/migrate/tests/src/Kernel/SqlBaseTest.php
Tests the exception when a connection is defined but not available.
SqlBaseTest::testConnectionTypes in core/modules/migrate/tests/src/Kernel/SqlBaseTest.php
Tests different connection types.
StageConflictTest::testDestroyDuringApply in core/modules/package_manager/tests/src/Kernel/StageConflictTest.php
Tests destroying a stage while applying it.
StageEventsTest::testAddResult in core/modules/package_manager/tests/src/Kernel/StageEventsTest.php
Tests adding validation results to events.
StageEventsTest::testExceptionIfNoErrorBeforeStopPropagation in core/modules/package_manager/tests/src/Kernel/StageEventsTest.php
Tests exception is thrown if error is not added before stopPropagation().
StatementTest::testStatementCountTwice in core/tests/Drupal/KernelTests/Core/Database/StatementTest.php
Tests counting a statement twice.
StatementTest::testStatementForeachTwice in core/tests/Drupal/KernelTests/Core/Database/StatementTest.php
Tests a follow-on iteration on a statement using foreach.
StatementTest::testStatementRewind in core/tests/Drupal/KernelTests/Core/Database/StatementTest.php
Tests statement rewinding.
StateTest::testGetTransitionToException in core/modules/workflows/tests/src/Unit/StateTest.php
Tests get transition to exception.
StaticMapTest::testMapWithInvalidSource in core/modules/migrate/tests/src/Unit/process/StaticMapTest.php
Tests when the source is invalid.
StaticMapTest::testMapWithInvalidSourceAndBypass in core/modules/migrate/tests/src/Unit/process/StaticMapTest.php
Tests when the source is invalid and bypass is enabled.
StaticMapTest::testWithNullSourceNotInMap in core/modules/migrate/tests/src/Unit/process/StaticMapTest.php
Tests when the source is NULL.
StringBaseTest::testDeleteWithoutStorage in core/modules/locale/tests/src/Unit/StringBaseTest.php
Tests delete without storage.
StringBaseTest::testSaveWithoutStorage in core/modules/locale/tests/src/Unit/StringBaseTest.php
Tests save without storage.
StringEqualsConcatenatedValuesConstraintValidatorTest::testInvalidReferenceToProperties in core/tests/Drupal/KernelTests/Core/Validation/StringEqualsConcatenatedValuesConstraintValidatorTest.php
Tests that validation fails if the schema references missing properties.
StringEqualsConcatenatedValuesConstraintValidatorTest::testReservedCharacters in core/tests/Drupal/KernelTests/Core/Validation/StringEqualsConcatenatedValuesConstraintValidatorTest.php
Tests that validation fails if reserved characters are not replaced.
StringEqualsConcatenatedValuesConstraintValidatorTest::testValueTypes in core/tests/Drupal/KernelTests/Core/Validation/StringEqualsConcatenatedValuesConstraintValidatorTest.php
Tests concatenation of basic schema value types.
SubProcessTest::testSourceNotArray in core/modules/migrate/tests/src/Unit/process/SubProcessTest.php
Tests behavior when source children are not arrays.
SubstrTest::testLengthIsString in core/modules/migrate/tests/src/Unit/process/SubstrTest.php
Tests that the length parameter is an integer.
SubstrTest::testStartIsString in core/modules/migrate/tests/src/Unit/process/SubstrTest.php
Tests that the start parameter is an integer.
SubstrTest::testSubstrFail in core/modules/migrate/tests/src/Unit/process/SubstrTest.php
Tests invalid input type.
SystemMenuBlockTest::testIgnoreActiveTrailConstraint in core/modules/system/tests/src/Kernel/Block/SystemMenuBlockTest.php
Tests configuration schema validation for IgnoreActiveTrail constraint.
TaggedHandlersPassTest::testIdCollectorProcessRequiredHandlers in core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php
Tests a required consumer with no handlers.
TaggedHandlersPassTest::testProcessMissingInterface in core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php
Tests consumer with missing interface in non-production environment.
TaggedHandlersPassTest::testProcessRequiredHandlers in core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/TaggedHandlersPassTest.php
Tests a required consumer with no handlers.
TestDatabaseTest::testConstructorException in core/tests/Drupal/Tests/Core/Test/TestDatabaseTest.php
Tests constructor exception.
TestDiscoveryTest::testTestInfoParserMissingGroup in core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php
@legacy-covers ::getTestInfo
ThemeInstallerTest::testInstallThemeSameNameAsModule in core/tests/Drupal/KernelTests/Core/Theme/ThemeInstallerTest.php
Tests installing a theme with the same name as an enabled module.
ThemeInstallerTest::testInstallThemeWithMetModuleDependencies in core/tests/Drupal/KernelTests/Core/Theme/ThemeInstallerTest.php
Tests installing a theme with module dependencies that are met.
ThemeInstallerTest::testInstallThemeWithUnmetModuleDependencies in core/tests/Drupal/KernelTests/Core/Theme/ThemeInstallerTest.php
Tests installing a theme with unmet module dependencies.
TimestampNormalizerTest::testDenormalizeException in core/modules/serialization/tests/src/Unit/Normalizer/TimestampNormalizerTest.php
Tests the denormalize function with bad data.
TransactionTest::testArbitraryTransactionNames in core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php
Tests for arbitrary transaction names.
TransactionTest::testTransactionGadgetChain in core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php
Tests defense against Object Injection in Transaction class.
TransactionTest::testTransactionName in core/tests/Drupal/KernelTests/Core/Database/TransactionTest.php
Tests for transaction names.
TranslatableMarkupTest::testIsStringAssertion in core/tests/Drupal/Tests/Core/StringTranslation/TranslatableMarkupTest.php
Tests is string assertion.
TranslatableMarkupTest::testIsStringAssertionWithFormattableMarkup in core/tests/Drupal/Tests/Core/StringTranslation/TranslatableMarkupTest.php
Tests is string assertion with formattable markup.
TranslatableMarkupTest::testToString in core/tests/Drupal/Tests/Core/StringTranslation/TranslatableMarkupTest.php
Tests that errors are correctly handled when a __toString() fails.
TransportTest::testMissingFactory in core/modules/mailer/tests/src/Kernel/TransportTest.php
Tests missing factory.
TransportTest::testSendmailFactoryUnlistedCommand in core/modules/mailer/tests/src/Kernel/TransportTest.php
Tests sendmail factory unlisted command.
TypeResolverTest::testInvalidType in core/tests/Drupal/Tests/Core/Config/TypeResolverTest.php
Tests invalid type.
UnsupportedRouteAttributePropertiesTest::testException in core/tests/Drupal/Tests/Core/Routing/UnsupportedRouteAttributePropertiesTest.php
@legacy-covers ::createRouteCollection
UrlConversionTest::testDriverModuleDoesNotExist in core/tests/Drupal/Tests/Core/Database/UrlConversionTest.php
Tests driver module does not exist.
UrlConversionTest::testGetInvalidArgumentExceptionInUrlConversion in core/tests/Drupal/Tests/Core/Database/UrlConversionTest.php
Tests ::convertDbUrlToConnectionInfo() exception for invalid arguments.
UrlConversionTest::testGetInvalidArgumentGetConnectionInfoAsUrl in core/tests/Drupal/Tests/Core/Database/UrlConversionTest.php
Tests ::getConnectionInfoAsUrl() exception for invalid arguments.
UrlConversionTest::testModuleDriverDoesNotExist in core/tests/Drupal/Tests/Core/Database/UrlConversionTest.php
Tests module driver does not exist.
UrlTest::testFromRouteUriWithMissingRouteName in core/tests/Drupal/Tests/Core/UrlTest.php
Tests from route uri with missing route name.
UrlTest::testGetRouteParametersWithExternalUrl in core/tests/Drupal/Tests/Core/UrlTest.php
Tests the getRouteParameters() with an external URL.
UrlTest::testSetRouteParametersWithUnroutedUrl in core/tests/Drupal/Tests/Core/UrlTest.php
Tests the setRouteParameters() with an unrouted URL.
UrlTest::testSetRouteParameterWithUnroutedUrl in core/tests/Drupal/Tests/Core/UrlTest.php
Tests the setRouteParameter() with an unrouted URL.
UserAnonymousActivateTest::testAnonymousActivate in core/modules/user/tests/src/Kernel/UserAnonymousActivateTest.php
Tests that the anonymous user cannot be activated.
ValidationResultTest::testCreateErrorResultException in core/modules/package_manager/tests/src/Unit/ValidationResultTest.php
Tests create error result exception.
ValidationResultTest::testCreateWarningResultException in core/modules/package_manager/tests/src/Unit/ValidationResultTest.php
Tests create warning result exception.
ValidKeysConstraintValidatorTest::testValidKeyInference in core/tests/Drupal/KernelTests/Core/TypedData/ValidKeysConstraintValidatorTest.php
Tests that valid keys can be inferred from the data definition.
VariationCacheTest::testIncompatibleChainedRedirectsComplexException in core/tests/Drupal/Tests/Core/Cache/VariationCacheTest.php
Tests the same as above, but even more complex.
VariationCacheTest::testIncompatibleChainedRedirectsException in core/tests/Drupal/Tests/Core/Cache/VariationCacheTest.php
Tests the same as above, but with more redirects.
VariationCacheTest::testIncompatibleRedirectsException in core/tests/Drupal/Tests/Core/Cache/VariationCacheTest.php
Tests exception for a cache item that has incompatible cache redirects.
VariationCacheTest::testIncompleteRedirectException in core/tests/Drupal/Tests/Core/Cache/VariationCacheTest.php
Tests exception for a cache item that has an incomplete redirect.
VariationCacheTest::testIncompleteVariationsException in core/tests/Drupal/Tests/Core/Cache/VariationCacheTest.php
Tests exception for a cache item that has incomplete variations.
VersionNegotiatorTest::testInvalidRevisionId in core/modules/jsonapi/tests/src/Kernel/Revisions/VersionNegotiatorTest.php
Tests invalid revision id.
VersionNegotiatorTest::testInvalidRevisionRel in core/modules/jsonapi/tests/src/Kernel/Revisions/VersionNegotiatorTest.php
Tests invalid revision rel.
ViewElementTest::testInvalidView in core/modules/views/tests/src/Kernel/ViewElementTest.php
Tests that an exception is thrown when an invalid View is passed.
ViewsDataTest::testGetEmptyKey in core/modules/views/tests/src/Unit/ViewsDataTest.php
Tests that getting data with an empty key throws an exception.
WebAssertTest::testAddressEquals in core/tests/Drupal/Tests/Core/Test/WebAssertTest.php
Tests address equals.
WebAssertTest::testAddressNotEqualsException in core/tests/Drupal/Tests/Core/Test/WebAssertTest.php
Tests address not equals exception.
WebAssertTest::testElementTextEquals in core/tests/Drupal/Tests/Core/Test/WebAssertTest.php
Tests element text equals.
WebAssertTest::testInvalidLinkExistsExact in core/tests/Drupal/Tests/Core/Test/WebAssertTest.php
Tests linkExistsExact() functionality fail.
WebAssertTest::testInvalidLinkNotExistsExact in core/tests/Drupal/Tests/Core/Test/WebAssertTest.php
Tests linkNotExistsExact() functionality fail.
WebAssertTest::testPageContainsNoDuplicateId in core/tests/Drupal/Tests/Core/Test/WebAssertTest.php
Tests pageContainsNoDuplicateId() functionality.
WebAssertTest::testPageTextContainsOnce in core/tests/Drupal/Tests/Core/Test/WebAssertTest.php
Tests page text contains once.
WebAssertTest::testPageTextMatchesCount in core/tests/Drupal/Tests/Core/Test/WebAssertTest.php
Tests page text matches count.
WebAssertTest::testResponseHeaderDoesNotExist in core/tests/Drupal/Tests/Core/Test/WebAssertTest.php
Tests WebAssert::responseHeaderDoesNotExist().
WebAssertTest::testResponseHeaderExists in core/tests/Drupal/Tests/Core/Test/WebAssertTest.php
Tests WebAssert::responseHeaderExists().
WildcardConfigActionsTest::testCreateForEachErrorsIfAlreadyExists in core/tests/Drupal/KernelTests/Core/Recipe/WildcardConfigActionsTest.php
Tests that the createForEach action errs on conflict with existing config.
WildcardConfigActionsTest::testCreateForEachErrorsIfNoBundleEntityTypesExist in core/tests/Drupal/KernelTests/Core/Recipe/WildcardConfigActionsTest.php
Tests that the createForEach action requires bundle entity types to exist.
WildcardConfigActionsTest::testCreateForEachNotAvailableOnNonBundleEntities in core/tests/Drupal/KernelTests/Core/Recipe/WildcardConfigActionsTest.php
Tests that the createForEach action only works on bundle entities.
WildcardConfigActionsTest::testInvalidExpression in core/tests/Drupal/KernelTests/Core/Recipe/WildcardConfigActionsTest.php
Tests that an invalid wildcard expression will raise an error.
WorkflowStateTransitionOperationsAccessCheckTest::testInvalidOperationName in core/modules/workflows/tests/src/Unit/WorkflowStateTransitionOperationsAccessCheckTest.php
Tests invalid operation name.
WorkflowTest::testAddStateException in core/modules/workflows/tests/src/Unit/WorkflowTest.php
Tests add state exception.
WorkflowTest::testAddStateInvalidIdException in core/modules/workflows/tests/src/Unit/WorkflowTest.php
Tests add state invalid id exception.
WorkflowTest::testAddTransitionDuplicateException in core/modules/workflows/tests/src/Unit/WorkflowTest.php
Tests add transition duplicate exception.
WorkflowTest::testAddTransitionDuplicateTransitionStatesException in core/modules/workflows/tests/src/Unit/WorkflowTest.php
Tests add transition duplicate transition states exception.
WorkflowTest::testAddTransitionInvalidIdException in core/modules/workflows/tests/src/Unit/WorkflowTest.php
Tests add transition invalid id exception.
WorkflowTest::testAddTransitionMissingFromException in core/modules/workflows/tests/src/Unit/WorkflowTest.php
Tests add transition missing from exception.
WorkflowTest::testAddTransitionMissingToException in core/modules/workflows/tests/src/Unit/WorkflowTest.php
Tests add transition missing to exception.
WorkflowTest::testDeleteOnlyStateException in core/modules/workflows/tests/src/Unit/WorkflowTest.php
Tests delete only state exception.
WorkflowTest::testDeleteStateException in core/modules/workflows/tests/src/Unit/WorkflowTest.php
Tests delete state exception.
WorkflowTest::testDeleteTransitionException in core/modules/workflows/tests/src/Unit/WorkflowTest.php
Tests delete transition exception.
WorkflowTest::testGetStateException in core/modules/workflows/tests/src/Unit/WorkflowTest.php
Tests get state exception.
WorkflowTest::testGetStatesException in core/modules/workflows/tests/src/Unit/WorkflowTest.php
Tests get states exception.
WorkflowTest::testGetTransitionException in core/modules/workflows/tests/src/Unit/WorkflowTest.php
Tests get transition exception.
WorkflowTest::testGetTransitionFromStateToStateException in core/modules/workflows/tests/src/Unit/WorkflowTest.php
Tests get transition from state to state exception.
WorkflowTest::testSetStateLabelException in core/modules/workflows/tests/src/Unit/WorkflowTest.php
Tests set state label exception.
WorkflowTest::testSetStateWeightException in core/modules/workflows/tests/src/Unit/WorkflowTest.php
Tests set state weight exception.
WorkflowTest::testSetStateWeightNonNumericException in core/modules/workflows/tests/src/Unit/WorkflowTest.php
Tests set state weight non numeric exception.
WorkflowTest::testSetTransitionFromStatesAlreadyExists in core/modules/workflows/tests/src/Unit/WorkflowTest.php
Tests set transition from states already exists.
WorkflowTest::testSetTransitionFromStatesMissingState in core/modules/workflows/tests/src/Unit/WorkflowTest.php
Tests set transition from states missing state.
WorkflowTest::testSetTransitionFromStatesMissingTransition in core/modules/workflows/tests/src/Unit/WorkflowTest.php
Tests set transition from states missing transition.
WorkflowTest::testSetTransitionLabelException in core/modules/workflows/tests/src/Unit/WorkflowTest.php
Tests set transition label exception.
WorkflowTest::testSetTransitionWeightException in core/modules/workflows/tests/src/Unit/WorkflowTest.php
Tests set transition weight exception.
WorkflowTest::testSetTransitionWeightNonNumericException in core/modules/workflows/tests/src/Unit/WorkflowTest.php
Tests set transition weight non numeric exception.
WorkspaceEntityDeleteTest::testEntityDeletion in core/modules/workspaces/tests/src/Kernel/WorkspaceEntityDeleteTest.php
Test entity deletion in a workspace.
WorkspaceInformationTest::testUnsupportedEntityTypes in core/modules/workspaces/tests/src/Kernel/WorkspaceInformationTest.php
Tests unsupported entity types.
WorkspaceIntegrationTest::testDisallowedEntityCreateInNonDefaultWorkspace in core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php
Tests CREATE operations for unsupported entity types.
WorkspaceIntegrationTest::testDisallowedEntityDeleteInNonDefaultWorkspace in core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php
Tests DELETE operations for unsupported entity types.
WorkspaceIntegrationTest::testDisallowedEntityUpdateInNonDefaultWorkspace in core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php
Tests UPDATE operations for unsupported entity types.
WorkspaceIntegrationTest::testWorkspaceHierarchy in core/modules/workspaces/tests/src/Kernel/WorkspaceIntegrationTest.php
Tests entity tracking in workspace descendants.
WorkspaceMergerTest::testWorkspaceMerger in core/modules/workspaces/tests/src/Kernel/WorkspaceMergerTest.php
Tests workspace merging.
WorkspaceTrackerTest::testMoveTrackedEntitiesValidation in core/modules/workspaces/tests/src/Kernel/WorkspaceTrackerTest.php
Tests validation for moveTrackedEntities().
YamlFileLoaderTest::testExceptions in core/tests/Drupal/Tests/Core/DependencyInjection/YamlFileLoaderTest.php
Tests exceptions.

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