public function testCount() { $this->assertSame(0, $this->pager->count()); $this->callMethod($this->pager, 'setNbResults', array(100)); $this->assertSame(100, $this->pager->count()); }