function DevelGenerateManagerTest::getMockDefinitions

Callback function to return mock definitions.

Return value

array The mock of devel generate plugin definitions.

1 call to DevelGenerateManagerTest::getMockDefinitions()
DevelGenerateManagerTest::setUp in devel_generate/tests/src/Unit/DevelGenerateManagerTest.php

File

devel_generate/tests/src/Unit/DevelGenerateManagerTest.php, line 99

Class

DevelGenerateManagerTest
@coversDefaultClass \Drupal\devel_generate\DevelGeneratePluginManager @group devel_generate

Namespace

Drupal\Tests\devel_generate\Unit

Code

public function getMockDefinitions() : array {
    return [
        'devel_generate_example' => [
            'id' => 'devel_generate_example',
            'class' => ExampleDevelGenerate::class,
            'url' => 'devel_generate_example',
            'dependencies' => [],
        ],
    ];
}