/**
  * Konštruktor.
  *
  * @param string $appClassName Názov "triedy" obsluhujúcej danú obrazovku v AISe.
  * @param string $identifiers  Konkrétne parametre pre vyvolanie danej obrazovky.
  */
 public function __construct(Trace $trace, FakeDialogParent $parent, array $data)
 {
     $this->trace = $trace;
     $this->parent = $parent;
     $this->data = $data;
     $this->uid = MiscUtil::random();
 }
 public function parseIdFromZapisnyListIndexFromResponse($response)
 {
     $data = StrUtil::matchAll(self::APP_LOCATION_PATTERN, $response);
     if ($data === false) {
         throw new ParseException("Location of APP_PATTERN failed.");
     }
     $data = StrUtil::matchAll(self::ID_PATTERN, $data[2]);
     if ($data === false) {
         throw new ParseException("Parsing of ids from zapisnyListIndex failed.");
     }
     return MiscUtil::removeIntegerIndexesFromArray($data);
 }