public function testUndoRestore() { $this->_history->undoRestore(); $this->assertFalse(file_exists($this->_path), '->undoRestore removes file'); }
/** * Restores a layout to its current customized state. * Called when leaving a restored layout without saving. */ function unrestore() { $this->history->undoRestore(); }