28 calls to DrupalTestCaseTrait::expectExceptionMessageIs()

AddNavigationBlockConfigActionTest::testActionOnlySupportsNavigationConfig in core/modules/navigation/tests/src/Kernel/ConfigAction/AddNavigationBlockConfigActionTest.php
Checks invalid config 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.
CopyTest::testInvalidStreamWrapper in core/modules/file/tests/src/Kernel/CopyTest.php
Tests for an invalid stream wrapper.
EntityConditionTest::testValidation in core/modules/jsonapi/tests/src/Unit/Query/EntityConditionTest.php
Tests validation.
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.
FileRepositoryTest::testInvalidStreamWrapper in core/modules/file/tests/src/Kernel/FileRepositoryTest.php
Tests for an invalid stream wrapper.
FileUploadHandlerTest::testLockAcquireException in core/modules/file/tests/src/Kernel/FileUploadHandlerTest.php
Test the lock acquire 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.
JsonApiDocumentTopLevelNormalizerTest::testDenormalizeUuid in core/modules/jsonapi/tests/src/Unit/Normalizer/JsonApiDocumentTopLevelNormalizerTest.php
Ensures only valid UUIDs can be specified.
MoveTest::testInvalidStreamWrapper in core/modules/file/tests/src/Kernel/MoveTest.php
Tests for an invalid stream wrapper.
OEmbedIframeControllerTest::testBadHashParameter in core/modules/media/tests/src/Kernel/OEmbedIframeControllerTest.php
Tests validation of the 'hash' query string parameter.
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.
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.
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.
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.

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