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