Example #1
0
 public function testRequest()
 {
     $mockRequest = $this->getMock('\\Symfony\\Component\\HttpFoundation\\Request');
     $this->view->setRequest($mockRequest);
     $this->assertInstanceOf('\\Symfony\\Component\\HttpFoundation\\Request', $this->view->getRequest());
 }