deblan.tv/vendor/trinity/src/Trinity/.svn/pristine/f6/f6f2ec2ee0bd9563be22963e9a4d71ef70634a25.svn-base
2015-03-02 21:57:49 +01:00

18 lines
410 B
Plaintext

<?php
namespace Trinity\Bundle\WidgetBundle\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);
}
}