class FriendsTest

Hierarchy

  • class \Drupal\Tests\Core\Foo\FriendsTest extends \PHPUnit\Framework\TestCase

Expanded class hierarchy of FriendsTest

File

core/tests/PHPStan/fixtures/test-methods-with-metadata.php, line 12

Namespace

Drupal\Tests\Core\Foo
View source
class FriendsTest extends TestCase {
  public function testWithAttribute() : void {
  }
  
  /**
   * @group Chandler
   */
  public function testWithAttributeAndForbiddenAnnotation() : void {
  }
  
  /**
   * @legacy-covers ::phoebe
   */
  public function testWithAttributeAndAllowedAnnotation() : void {
  }
  
  /**
   * @group Janice
   */
  public function testWithForbiddenAnnotation() : void {
  }
  
  /**
   * @see Monica
   */
  public function testWithAllowedAnnotation() : void {
  }
  
  /**
   * This test method has a legacy covers annotation.
   *
   * @legacy-covers ::ben
   */
  public function testWithLegacyCoversAnnotation() : void {
  }
  public function testNoMetadata() : void {
  }

}

Members

Title Sort descending Modifiers Object type Summary
FriendsTest::testNoMetadata public function
FriendsTest::testWithAllowedAnnotation public function
FriendsTest::testWithAttribute public function #[Group('Joey')]
FriendsTest::testWithAttributeAndAllowedAnnotation public function @legacy-covers ::phoebe
FriendsTest::testWithAttributeAndForbiddenAnnotation public function @group Chandler
FriendsTest::testWithForbiddenAnnotation public function @group Janice
FriendsTest::testWithLegacyCoversAnnotation public function This test method has a legacy covers annotation.

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