Acme\HelloBundle\Tests\Controller\DefaultControllerTest::testIndex PHP Method

testIndex() public method

public testIndex ( )
    public function testIndex()
    {
        $client = $this->createClient();

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

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