4 * This file is part of the Symfony package.
6 * (c) Fabien Potencier <fabien@symfony.com>
8 * For the full copyright and license information, please view the LICENSE
9 * file that was distributed with this source code.
12 namespace Symfony\Component\Routing\Tests\Loader;
14 use PHPUnit\Framework\TestCase;
16 abstract class AbstractAnnotationLoaderTest extends TestCase
18 public function getReader()
20 return $this->getMockBuilder('Doctrine\Common\Annotations\Reader')
21 ->disableOriginalConstructor()
26 public function getClassLoader($reader)
28 return $this->getMockBuilder('Symfony\Component\Routing\Loader\AnnotationClassLoader')
29 ->setConstructorArgs(array($reader))
30 ->getMockForAbstractClass()