Tests/Controller/DefaultControllerTest.php
author ymh <ymh.work@gmail.com>
Fri, 04 Nov 2011 11:56:59 +0100
changeset 23 b435f8055cb4
parent 1 06a22ff5d58d
permissions -rwxr-xr-x
improve dynamic docs. create and lad class dynamically

<?php

namespace IRI\Bundle\WikiTagBundle\Tests\Controller;

use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;

class DefaultControllerTest extends WebTestCase
{
    public function testIndex()
    {
        $client = static::createClient();

        $crawler = $client->request('GET', '/hello/Fabien');

        $this->assertTrue($crawler->filter('html:contains("Hello Fabien")')->count() > 0);
    }
}