/** * @expectedException UnderflowException */ public function testCallOnEmptyHistoryFails() { $xao = new XArray(); $xao->back(); }