示例#1
0
 /**
  * @expectedException \LogicException
  */
 public function testSetContent()
 {
     $content = $this->getMock('Symfony\\Cmf\\Component\\Routing\\RouteReferrersReadInterface');
     $redirect = new RedirectRoute();
     $redirect->setContent($content);
 }