git.fiddlerwoaroof.com
src/Blogger/BlogBundle/Tests/Controller/DefaultControllerTest.php
4511a7cd
 <?php
 
 namespace Blogger\BlogBundle\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);
     }
 }