protected function CmfUnitTestCase::buildMock in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony-cmf/routing/Test/CmfUnitTestCase.php \Symfony\Cmf\Component\Routing\Test\CmfUnitTestCase::buildMock()
31 calls to CmfUnitTestCase::buildMock()
- ChainRouterTest::testReSortRouters in vendor/
symfony-cmf/ routing/ Tests/ Routing/ ChainRouterTest.php - This test ensures that if a router is being added on the fly, the sorting is reset.
- ChainRouterTest::testRouteCollection in vendor/
symfony-cmf/ routing/ Tests/ Routing/ ChainRouterTest.php - ChainRouterTest::testSortRouters in vendor/
symfony-cmf/ routing/ Tests/ Routing/ ChainRouterTest.php - Routers are supposed to be sorted only once. This test will check that by trying to get all routers several times.
- ContentAwareGeneratorTest::setUp in vendor/
symfony-cmf/ routing/ Tests/ Routing/ ContentAwareGeneratorTest.php - ContentAwareGeneratorTest::testGenerateDocumentMultilang in vendor/
symfony-cmf/ routing/ Tests/ Routing/ ContentAwareGeneratorTest.php
File
- vendor/
symfony-cmf/ routing/ Test/ CmfUnitTestCase.php, line 16
Class
Namespace
Symfony\Cmf\Component\Routing\TestCode
protected function buildMock($class, array $methods = array()) {
return $this
->getMockBuilder($class)
->disableOriginalConstructor()
->setMethods($methods)
->getMock();
}