MissingAttributesWithDataProviderTest.php

Namespace

Drupal\Tests\Core\Foo

File

core/tests/fixtures/test_driver/MissingAttributesWithDataProviderTest.php

View source
<?php

// phpcs:ignoreFile
declare (strict_types=1);
namespace Drupal\Tests\Core\Foo;

use Drupal\Tests\UnitTestCase;
use PHPUnit\Framework\Attributes\DataProvider;
class MissingAttributesWithDataProviderTest extends UnitTestCase {
  public function testNoGroupMetadata(string $baz) : void {
  }
  public static function provider() : \Generator {
    yield 'Test#1' => [
      'foo',
    ];
    yield 'Test#2' => [
      'bar',
    ];
  }

}

Classes

Title Deprecated Summary
MissingAttributesWithDataProviderTest

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