/** * @expectedException \Matryoshka\Model\Exception\RuntimeException */ public function testApplyDeleteWithoutId() { $ar = new ActiveRecordCriteria(); $ar->applyDelete($this->model); }
/** * {@inheritdoc} */ public function apply(ModelStubInterface $model) { return $this->getDocumentStore()->initIsolationFromCursor($model->getDataGateway(), parent::apply($model)); }