public function StaticDiscoveryDecoratorTest::providerCall in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/tests/Drupal/Tests/Component/Plugin/Discovery/StaticDiscoveryDecoratorTest.php \Drupal\Tests\Component\Plugin\Discovery\StaticDiscoveryDecoratorTest::providerCall()
Data provider for testCall().
Return value
array
- Method name.
- Array of arguments to pass to the method, with the expectation that our mocked __call() will return them.
File
- core/tests/ Drupal/ Tests/ Component/ Plugin/ Discovery/ StaticDiscoveryDecoratorTest.php, line 193 
- Contains \Drupal\Tests\Component\Plugin\Discovery\StaticDiscoveryDecoratorTest.
Class
- StaticDiscoveryDecoratorTest
- @group Plugin @coversDefaultClass Drupal\Component\Plugin\Discovery\StaticDiscoveryDecorator
Namespace
Drupal\Tests\Component\Plugin\DiscoveryCode
public function providerCall() {
  return [
    [
      'complexArguments',
      [
        '1',
        2.0,
        3,
        [
          '4' => 'five',
        ],
      ],
    ],
    [
      'noArguments',
      [],
    ],
  ];
}