Beispiel #1
0
 /**
  * Tests the getPagerId() method.
  *
  * @see \Drupal\views\Plugin\views\pager\PagerPluginBase::getPagerId()
  */
 public function testGetPagerId()
 {
     // Should return 0 if 'id' is not set.
     $this->assertEquals(0, $this->pager->getPagerId());
     $this->pager->options['id'] = 1;
     $this->assertEquals(1, $this->pager->getPagerId());
 }