Ejemplo n.º 1
0
 public function testSwitch()
 {
     $this->request->query->set('page', 'page');
     $this->request->query->set('prefix', 'invalid');
     $this->action->execute($this->mapping, null, $this->request, $this->response);
     // TODO: Check the module has switched
 }
Ejemplo n.º 2
0
 public function testExecute()
 {
     $this->assertNull($this->action->execute(new \Phruts\Action\ActionMapping(), null, new \Symfony\Component\HttpFoundation\Request(), new \Symfony\Component\HttpFoundation\Response()));
 }