|
@@ -18,6 +18,13 @@ use Symfony\Component\Routing\RouteCollection;
|
|
|
|
|
|
abstract class AbstractAnnotationLoaderTest extends \PHPUnit_Framework_TestCase
|
|
|
{
|
|
|
+ public function setUp()
|
|
|
+ {
|
|
|
+ if (!class_exists('Doctrine\\Common\\Version')) {
|
|
|
+ $this->markTestSkipped('Doctrine is not available.');
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
public function getReader()
|
|
|
{
|
|
|
return $this->getMockBuilder('Doctrine\Common\Annotations\Reader')
|