abstract class AbstractAnnotationLoaderTest in Zircon Profile 8
Same name and namespace in other branches
- 8.0 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\LoaderView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
AbstractAnnotationLoaderTest:: |
public | function | ||
AbstractAnnotationLoaderTest:: |
public | function |