You are here

public function PagerPluginBaseTest::testUseCountQuery in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php \Drupal\Tests\views\Unit\Plugin\pager\PagerPluginBaseTest::testUseCountQuery()

Tests the useCountQuery() method.

See also

\Drupal\views\Plugin\views\pager\PagerPluginBase::useCountQuery()

File

core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php, line 154
Contains \Drupal\Tests\views\Unit\Plugin\pager\PagerPluginBaseTest.

Class

PagerPluginBaseTest
@coversDefaultClass \Drupal\views\Plugin\views\pager\PagerPluginBase @group views

Namespace

Drupal\Tests\views\Unit\Plugin\pager

Code

public function testUseCountQuery() {
  $this
    ->assertTrue($this->pager
    ->useCountQuery());
}