08d37bdeaa3d10ae33e5ff95df8c08adc0fe527e
[yaffs-website] / vendor / symfony / psr-http-message-bridge / Tests / Factory / DiactorosFactoryTest.php
1 <?php
2
3 /*
4  * This file is part of the Symfony package.
5  *
6  * (c) Fabien Potencier <fabien@symfony.com>
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\Bridge\PsrHttpMessage\Tests\Factory;
13
14 use Symfony\Bridge\PsrHttpMessage\Factory\DiactorosFactory;
15
16 /**
17  * @author Kévin Dunglas <dunglas@gmail.com>
18  * @author Antonio J. García Lagar <aj@garcialagar.es>
19  */
20 class DiactorosFactoryTest extends AbstractHttpMessageFactoryTest
21 {
22     protected function buildHttpMessageFactory()
23     {
24         if (!class_exists('Zend\Diactoros\ServerRequestFactory')) {
25             $this->markTestSkipped('Zend Diactoros is not installed.');
26         }
27
28         return new DiactorosFactory();
29     }
30 }