Version 1
[yaffs-website] / vendor / symfony-cmf / routing / Test / CmfUnitTestCase.php
1 <?php
2
3 /*
4  * This file is part of the Symfony CMF package.
5  *
6  * (c) 2011-2015 Symfony CMF
7  *
8  * For the full copyright and license information, please view the LICENSE
9  * file that was distributed with this source code.
10  */
11
12 namespace Symfony\Cmf\Component\Routing\Test;
13
14 class CmfUnitTestCase extends \PHPUnit_Framework_TestCase
15 {
16     protected function buildMock($class, array $methods = array())
17     {
18         return $this->getMockBuilder($class)
19                 ->disableOriginalConstructor()
20                 ->setMethods($methods)
21                 ->getMock();
22     }
23 }