public function testGetTotal() { $this->config->expects($this->once())->method('getTotalPages')->will($this->returnValue('110')); $this->assertEquals(110, $this->view->getTotal()); }