public function PagerPluginBaseTest::testGetItemsPerPage in Drupal 10
Same name and namespace in other branches
- 8 core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php \Drupal\Tests\views\Unit\Plugin\pager\PagerPluginBaseTest::testGetItemsPerPage()
- 9 core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php \Drupal\Tests\views\Unit\Plugin\pager\PagerPluginBaseTest::testGetItemsPerPage()
Tests the getItemsPerPage() method.
See also
\Drupal\views\Plugin\views\pager\PagerPluginBase::getItemsPerPage()
File
- core/
modules/ views/ tests/ src/ Unit/ Plugin/ pager/ PagerPluginBaseTest.php, line 54 - 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\pagerCode
public function testGetItemsPerPage() {
$this
->assertEquals(5, $this->pager
->getItemsPerPage());
}