public function PagerPluginBaseTest::testGetCurrentPage in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/views/tests/src/Unit/Plugin/pager/PagerPluginBaseTest.php \Drupal\Tests\views\Unit\Plugin\pager\PagerPluginBaseTest::testGetCurrentPage()
Tests the getCurrentPage() method.
See also
\Drupal\views\Plugin\views\pager\PagerPluginBase::getCurrentPage()
File
- core/
modules/ views/ tests/ src/ Unit/ Plugin/ pager/ PagerPluginBaseTest.php, line 91 - 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 testGetCurrentPage() {
$this
->assertEquals(1, $this->pager
->getCurrentPage());
}