FormTestBase::getMockForm |
function |
core/tests/Drupal/Tests/Core/Form/FormTestBase.php |
Provides a mocked form object. |
ExtensionListTest::getMocks |
function |
core/tests/Drupal/Tests/Core/Extension/ExtensionListTest.php |
|
MailHandlerTest::getMockSender |
function |
core/modules/contact/tests/src/Unit/MailHandlerTest.php |
Builds a mock sender on given scenario. |
CommentLinkBuilderTest::getMockNode |
function |
core/modules/comment/tests/src/Unit/CommentLinkBuilderTest.php |
Builds a mock node based on given scenario. |
MailHandlerTest::getMockContactForm |
function |
core/modules/contact/tests/src/Unit/MailHandlerTest.php |
Builds a mock message on given scenario. |
MigrateExecutableTest::getMockSource |
function |
core/modules/migrate/tests/src/Unit/MigrateExecutableTest.php |
Returns a mock migration source instance. |
ConfigEntityStorageTest::getMockEntity |
function |
core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityStorageTest.php |
Creates an entity with specific methods mocked. |
KeyValueEntityStorageTest::getMockEntity |
function |
core/tests/Drupal/Tests/Core/Entity/KeyValueStore/KeyValueEntityStorageTest.php |
Creates an entity with specific methods mocked. |
CacheContextsManagerTest::getMockContainer |
function |
core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php |
|
RouteProcessorManagerTest::getMockProcessor |
function |
core/tests/Drupal/Tests/Core/RouteProcessor/RouteProcessorManagerTest.php |
Returns a mock Route processor object. |
PluginManagerBaseTest::getMockFactoryInterface |
function |
core/tests/Drupal/Tests/Component/Plugin/PluginManagerBaseTest.php |
Generates a mocked FactoryInterface object with known properties. |