Inheritance: extends Symfony\Bundle\FrameworkBundle\Test\WebTestCase
 public function setUp()
 {
     parent::setUp();
     $this->mockedRoute = $this->getMockBuilder('Symfony\\Component\\Routing\\Route')->disableOriginalConstructor()->getMock();
     $this->mockedSiteMapControllerService = $this->getMockBuilder('RepoSitemapBundle\\Services\\SiteMapControllerService')->disableOriginalConstructor()->getMock();
     $this->sitemapInfo = array('type' => SiteMapOptionService::TYPE_DYNAMIC, 'repository' => 'AppBundle:Test', 'lastmod' => '2000-01-01', 'changefreq' => 'daily', 'priority' => 0.67);
     $this->route = new Route('tests');
     $this->route->setOption('sitemap', $this->sitemapInfo);
 }
コード例 #2
0
 protected function tearDown()
 {
     parent::tearDown();
     $this->deleteTmpDir('FirewallEntryPoint');
 }
コード例 #3
0
 protected function tearDown()
 {
     parent::tearDown();
     $this->deleteTmpDir('Acl');
 }
コード例 #4
0
 public static function tearDownAfterClass()
 {
     parent::deleteTmpDir('FirewallEntryPoint');
 }