You are here

abstract class AbstractAnnotationLoaderTest in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/symfony/routing/Tests/Loader/AbstractAnnotationLoaderTest.php \Symfony\Component\Routing\Tests\Loader\AbstractAnnotationLoaderTest

Hierarchy

  • class \Symfony\Component\Routing\Tests\Loader\AbstractAnnotationLoaderTest extends \Symfony\Component\Routing\Tests\Loader\PHPUnit_Framework_TestCase

Expanded class hierarchy of AbstractAnnotationLoaderTest

File

vendor/symfony/routing/Tests/Loader/AbstractAnnotationLoaderTest.php, line 14

Namespace

Symfony\Component\Routing\Tests\Loader
View source
abstract class AbstractAnnotationLoaderTest extends \PHPUnit_Framework_TestCase {
  public function getReader() {
    return $this
      ->getMockBuilder('Doctrine\\Common\\Annotations\\Reader')
      ->disableOriginalConstructor()
      ->getMock();
  }
  public function getClassLoader($reader) {
    return $this
      ->getMockBuilder('Symfony\\Component\\Routing\\Loader\\AnnotationClassLoader')
      ->setConstructorArgs(array(
      $reader,
    ))
      ->getMockForAbstractClass();
  }

}

Members