function DefaultLazyPluginCollectionTest::testCount

Tests count.

@legacy-covers ::count

File

core/tests/Drupal/Tests/Core/Plugin/DefaultLazyPluginCollectionTest.php, line 227

Class

DefaultLazyPluginCollectionTest
Tests Drupal\Core\Plugin\DefaultLazyPluginCollection.

Namespace

Drupal\Tests\Core\Plugin

Code

public function testCount() : void {
  $this->setupPluginCollection();
  $this->assertCount(3, $this->defaultPluginCollection);
}

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