_adapter = new Zend_Paginator_Adapter_Null(101); } /** * Cleans up the environment after running a test. */ protected function tearDown() { $this->_adapter = null; parent::tearDown(); } public function testGetsItems() { $actual = $this->_adapter->getItems(0, 10); $this->assertEquals(array_fill(0, 10, null), $actual); } public function testReturnsCorrectCount() { $this->assertEquals(101, $this->_adapter->count()); } }