/** * @test * @expectedException InvalidArgumentException * @expectedExceptionMessage Invalid property */ public function tryingToFindAPageByAnInvalidPropertyThrowsAnException() { $this->obj->find('invalid = 1'); }
/** * {@inheritDoc} */ protected function preProcessAction() { $this->volumeGateway->flush($this->setup); $this->sectionGateway->flush($this->setup); $this->pageGateway->flush($this->setup); $this->xmlChunkGateway->flush($this->setup); }