public function testGetSetTotalItemsParamName()
 {
     $this->assertSame('total_items', $this->paginatorAdapter->getTotalItemsParamName());
     // Default value
     $this->assertSame($this->paginatorAdapter, $this->paginatorAdapter->setTotalItemsParamName('foo'));
     $this->assertSame('foo', $this->paginatorAdapter->getTotalItemsParamName());
 }
 /**
  * {@inheritdoc}
  */
 public function getPaginatorAdapter(ModelStubInterface $model)
 {
     $paginator = new RestPaginatorAdapter($model, $this);
     $paginator->setTotalItemsParamName($this->totalItemsParamName);
     return $paginator;
 }