/** * {@inheritdoc} */ public function restore($tableId, array $params = array(), $mode = self::MODE_NORMAL) { $config = $this->tableSession->restore($tableId); return $this->load($config['class'], $config['data'], $config['options'], $params, $mode); }
/** * @expectedException \InvalidArgumentException */ public function testRestoreException() { $this->tableSession->restore('xxx'); }