<?php

namespace {{ namespace }}\Tests\Controller;

{% block use_statements %}
use Symfony\Bundle\FrameworkBundle\Test\WebTestCase;
{% endblock use_statements %}

{% block class_definition %}
class DefaultControllerTest extends WebTestCase
{% endblock class_definition %}
{
{% block class_body %}
    public function testIndex()
    {
        $client = static::createClient();

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

        $this->assertContains('Hello World', $client->getResponse()->getContent());
    }
{% endblock class_body %}
}
