public function testReverse() { $ids = new Horde_Imap_Client_Ids(array(1, 3, 5)); $ids->reverse(); $this->assertEquals(array(5, 3, 1), $ids->ids); }