You are here

public function ArgumentsResolverTest::providerTestHandleUnresolvedArgument in Drupal 9

Same name and namespace in other branches
  1. 8 core/tests/Drupal/Tests/Component/Utility/ArgumentsResolverTest.php \Drupal\Tests\Component\Utility\ArgumentsResolverTest::providerTestHandleUnresolvedArgument()

Provides test data to testHandleUnresolvedArgument().

File

core/tests/Drupal/Tests/Component/Utility/ArgumentsResolverTest.php, line 180
Contains \Drupal\Tests\Component\Utility\ArgumentsResolverTest.

Class

ArgumentsResolverTest
@coversDefaultClass \Drupal\Component\Utility\ArgumentsResolver @group Access

Namespace

Drupal\Tests\Component\Utility

Code

public function providerTestHandleUnresolvedArgument() {
  $data = [];
  $data[] = [
    function ($foo) {
    },
  ];
  $data[] = [
    [
      new TestClass(),
      'access',
    ],
  ];
  $data[] = [
    'Drupal\\Tests\\Component\\Utility\\test_access_arguments_resolver_access',
  ];
  return $data;
}